Python hex () is an inbuilt method that converts an integer to its ... decimal = int(input("Enter a number: ")) print("Hexadecimal: ",hex(decimal))
確定! 回上一頁