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 will return A
chr will return B
All the way up to:
chr 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
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
