Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ex_dict={1:"how",3:"do you",7:"dotoday"}
- for key in ex_dict:
- string= key," and this is ", ex_dict[key]
- print (string)
- (1, ' and this is ', 'how')
- (3, ' and this is ', 'do you')
- (7, ' and this is ', 'dotoday')
- 1 and this is how
- 3 and this is do you
- 7 and this is dotoday
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement