Advertisement
Guest User

Untitled

a guest
Apr 5th, 2016
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. # makes enumerated dict of ASCII characters
  2.  
  3. def ascii():
  4. chars = list("~!@#$%^&*()_+`1234567890-=qwertyuiop[]{}\|asdfghjkl;':zxcvbnm<>,.?/")
  5. ascdict = {}
  6. for i in range(len(chars)):
  7. ascdict[i] = chars[i]
  8. print(ascdict)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement