Question: Write code in Python: 4.Write a program that asks the user to enter a string, then prints out each letter of the string doubled and

Write code in Python:

4.Write a program that asks the user to enter a string, then prints out each letter of the string doubled and on a separate line. For instance, if the user entered HEY, the output would beHHEEYY

Step by Step Solution

3.52 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The output is always a String for example would be HH EE YY could I limit the commas We want the com... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!