nums = input("請輸入多個數,以空格分隔:") num_list_bin = bytes(bytearray.fromhex(nums)) for num in num_list_bin: print(hex(num),",", end=" ")
nums = input("請輸入多個數,以空格分隔:") num_list_bin = bytes(bytearray.fromhex(nums)) for num in num_list_bin: print(hex(num),",", end=" ")