int(num, base)的用法
十六进制数字的大小
https://www.nowcoder.com/practice/349fec692757406e92e9a5ebd9f97580
import sys num16 = input() num = int(num16, 16) print(num)
十六进制数字的大小
https://www.nowcoder.com/practice/349fec692757406e92e9a5ebd9f97580
import sys num16 = input() num = int(num16, 16) print(num)
相关推荐