Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #https://inf-ege.sdamgia.ru/test?theme=356
- s = '8' * 64
- while '222' in s or '888' in s:
- if '222' in s:
- s = s.replace('222', '8', 1)
- else:
- s = s.replace('888', '2', 1)
- print(s)
Advertisement
Add Comment
Please, Sign In to add comment