Question: Ask user to enter a string, e . g , Computer Science and convert it into a list using the list function, i . e

Ask user to enter a string, e.g, Computer Science and convert it into a list using the list function, i.e., list(myStr). Pass this list to the myToUpper function. Inside the function, convert any lowercase characters to uppercase, and print the entire list.
Note: Use the ord0 function, e.g., ord('C') to obtain the ASCII value of a single character, and the chr() function, e.g., chr(67) to get the character from the ASCII value.
Ask user to enter a string, e . g , Computer

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!