Question: 2. Write a script called countLetters which prompts the user to enter a word. The script should then display the number of letters in

2. Write a script called countLetters which prompts the user to enter a word. The script should then display the number of letters in the word. Your script should run as follows:- Please enter word hello 5 3. Modify your previous countLetters script so that it displays the number of letters as part of a sentence: 'The word ...... has letters'. ..... Your script should run as follows:- Please enter word hello The word hello has 5 letters
Step by Step Solution
3.50 Rating (167 Votes )
There are 3 Steps involved in it
Answer Here are two versions of the countLetters script in Python V... View full answer
Get step-by-step solutions from verified subject matter experts
