【发布时间】:2023-06-03 11:03:01
【问题描述】:
所以我得到这个错误' adj=int(input('Choose an adjective: ')) ValueError: invalid literal for int() with base 10: 'hi'' when I use this code,(代码很简单)
adj=""
adj=int(input('Choose an adjective: '))
print(adj)
我是新手,所以谢谢你的帮助!
【问题讨论】:
标签: input base valueerror