📅  最后修改于: 2022-03-11 14:46:30.880000             🧑  作者: Mango
binary_string = input('Input Binary: ')
decimal_representation = int(binary_string, 2)
hexadecimal_string = hex(decimal_representation)
print(hexadecimal_string)