Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lst = list(map(int, input().split(', ')))
- for i in range(lst.count(0)):
- lst.append(lst.pop(lst.index(0)))
- print(lst)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement