Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import string
- alphabet_string = string.ascii_uppercase
- thisdict = {}
- i =0
- for alphabet in alphabet_string:
- case = {alphabet_string[i]:int(i+1)}
- thisdict.update(case)
- i+=1
- print(thisdict)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement