我需要帮助我的代码,我正在做的代码Roy和配置文件图片在hackearth中,当我要运行时,这个错误出现:
'ValueError:基数为10的int()的文本无效:‘
这是我的代码:
l = int(input())
n = int(input())
i = 0
while i < n:
wh = str(input().split(' '))
w,h = int(wh[0]),int(wh[1])
if w == l and h == l:
print('ACCEPTED')
else:
if w > l and h > l:
print('CROP IT')
else:
print('UPLOAD ANOTHER')
i+=1我为我的英语错误道歉,我正在学习。这是在python 3.x中吗?
https://stackoverflow.com/questions/44571512
复制相似问题