nums = input("请输入多个数,以空格分隔:") num_list_bin = bytes(bytearray.fromhex(nums)) for num in num_list_bin: print(hex(num),",", end=" ")