Question: Write a program that creates a dictionary whose key/value pairs are 'a'/1, 'b'/2, ..., 'z'/26. Then prompt for and read in a letter and displays
Write a program that creates a dictionary whose key/value pairs are 'a'/1, 'b'/2, ..., 'z'/26. Then prompt for and read in a letter and displays its corresponding number value obtained from your dictionary.
Write a program that executes a loop that prompts the user for a number, squares the entered number, and displays the square. Your loop should continue until the user enters 0.
Programming language: Python 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
