print(int(input(),16)) 这一句就可以了吧,为什么必须用异常捕获才行呢
点赞

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务