pycharm里面for循环运行不了
pycharm吧
全部回复
仅看楼主
level 1
sbj1247116341 楼主
这个N的值怎么加,假设N是100,怎么键入,for循环没有运行,没有结果
2023年03月30日 03点03分 1
level 1
把for sum_result in range(1, N+1):
改成for i in range(1, N+1):
就行了
2023年03月31日 16点03分 2
level 7
你倒是输入数字啊,你不是你敲上去一个请输入100 他就自动输入100了
2023年04月03日 03点04分 3
1