subject

Write a code segment that prompts the user to enter a sentence and then displays all of the words in the sentence which have an odd number of letters in them.

you may assume that the user will input a string consisting of only english language words each separated by exactly one blank space and that the only punctuation symbol will be a period at the end of the sentence

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 17:50
Which of the following best describe how the depth-limited search works. a normal depth-first search is performed but the number of ply/depths is limited. a normal breadth-first search is performed but the number of ply/depths is limited. a normal breadth-first search is performed but values above a specific value will be ignored. a normal depth-first search is performed but values above a specific value will be ignored.
Answers: 1
question
Computers and Technology, 25.06.2019 09:20
Part d: float check string has a method s.isdigit() that returns true if string s contains only digits and false otherwise, i.e. s is a string that represents an integer. write a function named float_check that takes one parameter that is a string and returns true if the string represents a float and false otherwise. for the purpose of this function we define a float to be a string of digits that has at most one decimal point. note that under this definition an integer argument will return true. remember “edge cases” such as “45.” or “.45”; both should return true. for example: float_check('1234') returns true float_check('123.45') returns true float_check('123.45.67') returns false float_check('34e46') returns false float_check('.45') returns true float_check('45.') returns true float_check('45..') returns false
Answers: 2
question
Computers and Technology, 25.06.2019 10:30
How do you transfer an image onto a computer
Answers: 2
question
Computers and Technology, 26.06.2019 02:30
Is someone has an aptitude for art, they should consider a job a) a banker b) a singer c) a graphic designer d) an engineer
Answers: 2
You know the right answer?
Write a code segment that prompts the user to enter a sentence and then displays all of the words in...
Questions
question
History, 22.07.2019 05:30
question
Mathematics, 22.07.2019 05:30
question
Mathematics, 22.07.2019 05:30
question
History, 22.07.2019 05:30
Questions on the website: 13722361