Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- number = int(input())
- w = len('{0:b}'.format(number))
- print("{0:{w}d} {0:{w}o} {0:{w}X} {0:{w}b}".format(i))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement