Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- """ Task 1 """
- inp = list(map(int, input()))
- inp.sort()
- j = inp.count(0)
- for i in range(j):
- inp.remove(0)
- inp.insert(j, 0)
- print(*inp, sep="")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement