Question: please help 2. Write a script that first asks a user to input a word and then asks the user to input a letter (Hint:
2. Write a script that first asks a user to input a word and then asks the user to input a letter (Hint: use the input command using the 's' option). Then, have your script compute the number of letters in the word and the number of times the letter appears in the word. For example, for the word engineering and the letter e, the command window output should be: There are 11 letters in the word engineering The letter e appears 3 times
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
