文字列Unicode変換

Run Settings
LanguagePython
Language Version
Run Command
inp=input() print(inp) uni=[] for i in inp: m=ord(i) uni.append(m) print("10進数") for u in uni: print(u,end=' ') print("\n2進数") for u in uni: print(bin(u),end=' ') print("\n16進数") for u in uni: print(hex(u),end=' ') print("\n8進数") for u in uni: print(oct(u),end=' ')
Editor Settings
Theme
Key bindings
Full width
Lines