a=input("Enter your ASCII String: ") · list=[] · for i in a: · temp=ord(i) #Converting to ASCII codes. · temp=hex(temp) #Converting ASCII to HEX. · list.append(temp).
確定! 回上一頁