Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- numero = 9876
- print(bin(numero))
- print(oct(numero))
- print(hex(numero))
- print('')
- print(format(numero, 'b'))
- print(format(numero, 'o'))
- print(format(numero, 'x'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement