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, eg Computer Science and convert it into a list using the list function, ie listmyStr Pass this list to the myToUpper function. Inside the function, convert any lowercase characters to uppercase, and print the entire list.
Note: Use the ord function, eg ordC to obtain the ASCII value of a single character, and the chr function, eg chr to get the character from the ASCII value.
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
