Advertisement
Albinutte

Python HM

Feb 17th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. test = {}
  2. test[0] = 23
  3. test[1] = "hello"
  4. test[15] = 34.5
  5. test["mamma mia!"] = 42
  6.  
  7. print test[15] == 34.5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement