kkalog

Untitled

Jul 20th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. def fill_dict():
  2.   d = dict()
  3.   for i in range(1,21):
  4.     d[i] = i**2
  5.  
  6.   for key in d.keys():
  7.     print key
  8.    
  9.    
  10. fill_dict()
Advertisement
Add Comment
Please, Sign In to add comment