Question: I need the following two lists: Upper_case_set=['A', B', 'C', 'D', 'E', F, G, H, T, J, K, L, M, 'N', 'O', P, Q, 'R',

I need the following two lists: Upper_case_set=['A', B', 'C', 'D', 'E', F, G, H, T, J, K, L, M, 'N', 'O', P, Q, 'R', \'S', T, U, V, W, X, Y, Z] Low_case_set=['a', 'b', 'c', 'd', 'e', 'f, g, h, i, j, k, T, 'm', 'n', 'o', 'p', 'q', 'r', 's', \'t, u, v, w, x, y, z'] how to use a program to create the above two lists without typing each letter into the lists by hand. Please print them on the screen. (Notes: Use ord(), chr() function and for loop. e.g., ord('a')-97, ord('z')=122, ord(A)=65, ord('Z')=90. chr(97)='a', char(122)='z', char(65)='A', char(90)= 'Z'))
Step by Step Solution
3.33 Rating (162 Votes )
There are 3 Steps involved in it
create empty lists Uppercaseset Lowcaseset loop fro... View full answer
Get step-by-step solutions from verified subject matter experts
