Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- n = 0
- x = 0
- y = 0
- history = dict()
- while n < 11:
- print('Пиши одеН!!!')
- input()
- n += 1
- x += 1
- y += 1
- if n >= 3:
- history.pop(n-2)
- history[n] = (x,y)
- print('=========')
- print('Содержимое history:')
- for key in history:
- print("{}: {}".format(key,history[key]))
- print('=========')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement