subject

Write a function called cleanup to tidy up a sentence and produce a string scalar. in the input sentence, some words are separated by more than one space. the output should produce single spaces between words. spaces should not appear at the beginning or end of the output sentence. the input sentence is a string scalar and the output sentence is a string scalar. restriction: the function must use join, split, and strip. hint: separate the words in the input sentence into a string array, manipulate the resulting string scalars, and then reconstruct the output string scalar. ex:

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 02:30
Which component acts as a platform on which application software runs
Answers: 2
question
Computers and Technology, 23.06.2019 17:00
What are the 12 colors of the spectrum called?
Answers: 1
question
Computers and Technology, 24.06.2019 02:40
Has anyone seen my grandma shes been gone for 4 years already
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
Universal windows platform is designed for which windows 10 version?
Answers: 1
You know the right answer?
Write a function called cleanup to tidy up a sentence and produce a string scalar. in the input sent...
Questions
question
Mathematics, 31.08.2021 06:40
question
Mathematics, 31.08.2021 06:40
question
Mathematics, 31.08.2021 06:40
question
Mathematics, 31.08.2021 06:50
question
Mathematics, 31.08.2021 06:50
question
Mathematics, 31.08.2021 06:50
question
Geography, 31.08.2021 06:50
Questions on the website: 13722360