Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3. (50 pts) Consider following dictionary, dict 'a': 97, t: 116, 'w: 119, c': 99, b': 98, 'e': 101, 'd': 100, 'g': 103, P: 102,
3. (50 pts) Consider following dictionary, dict 'a': 97, t: 116, 'w: 119, "c': 99, b': 98, 'e': 101, 'd': 100, 'g': 103, P: 102, : 105, 'h': 104, 'k': 107, j: 106, 'm': 109, "T: 108, o': 96, 'n': 110, 'q': 113, 'p': 112, 's': 115, 'r': 114, 'u': 117, 'v': 118, 'y: 121, X": 120, 'z': 122). This dictionary is the ASCIl with corresponding lower case letter. 1. Sort the key of dict from 'a' to 'z' 2. Find and correct a wrong value with corresponding key 3. Create an upper case letter and corresponding ASCIl in a new dictionary by using for loop. Combine lower case and upper case letter with ASCIl in a new dictionary Switch the value of dict to hexadecimal number 4. 5. You can more detail information of ASCII table from here. Hint: 1) Sort() method has been implemented for Python list. 2) There is built-in function to turn decimal number to hexadecimal number. 3)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started