XJTU_Python/homework/3/4.py

5 lines
80 B
Python

s= input()
print(bin(ord(s))[2:])
print(oct(ord(s))[2:])
print(hex(ord(s))[2:])