python3答案 while True: try: l = input() print(int(l,16)) except: break 知识点:int(l,16) 表示将 int l 转换成16进制的数 文章导航 HJ6 质数因子