Question: how to create a loop that ends on return and prints the word count. ef Assignment(): word =1 word=float (input (Enter a word ( to
how to create a loop that ends on return and prints the word count.
ef Assignment(): word =1 word=float (input ("Enter a word ( to Quit): ")) while word != : word = word +1 word=float (input ("Enter a word ( to Quit): ")) print(word.count() "words were entered") print (word [-1], word.lower(), word.upper())
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
