Question: This is a bit different. Every character has an ASCII code ( basically , a number that represents it ) . Python has a function

This is a bit different. Every character has an ASCII code (basically, a number that represents it). Python has a function called chr() that will return a string if you provide the corresponding integer ASCII code. For example:
chr(65) will return 'A'
chr(66) will return 'B'
All the way up to:
chr(90) will return 'Z'
Your task is to create dictionary that maps ASCII keys to their corresponding letters. Use a dictionary comprehension and chr(). Save the result to the answer variable. You only need to care about capital letters (65-90).

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 Databases Questions!