Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = ""
- n = input()
- while n != ".":
- a += n
- n = input()
- print(int(a, base=2))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement