Advertisement
Guest User

Untitled

a guest
Sep 4th, 2015
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. ex_dict={1:"how",3:"do you",7:"dotoday"}
  2. for key in ex_dict:
  3. string= key," and this is ", ex_dict[key]
  4. print (string)
  5.  
  6. (1, ' and this is ', 'how')
  7. (3, ' and this is ', 'do you')
  8. (7, ' and this is ', 'dotoday')
  9.  
  10. 1 and this is how
  11. 3 and this is do you
  12. 7 and this is dotoday
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement