prog4_25.py

value = int(input("16進数を入力して下さい"), 16)
print("値は", value, "です!")

# プログラム4-25(引数に関数呼び出し式を書く)