Question: Write a program that accepts input from the user. Create another string that contains either a u , l , or - for each character
Write a program that accepts input from the user. Create another string that contains either a u l or for each character of the original string. Use u when the character is uppercase, and use l when the character is lowercase. If the character is neither uppercase or lowercase, use Print the second string. Important, do not put a prompt when asking for user input. Just use input Adding a prompt will cause your program to not pass the tests.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
