Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. n = 0
  3. x = 0
  4. y = 0
  5. history = dict()
  6. while n < 11:
  7. print('Пиши одеН!!!')
  8. input()
  9. n += 1
  10. x += 1
  11. y += 1
  12. if n >= 3:
  13. history.pop(n-2)
  14. history[n] = (x,y)
  15. print('=========')
  16. print('Содержимое history:')
  17. for key in history:
  18. print("{}: {}".format(key,history[key]))
  19. print('=========')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement