1
4
正如注释中所提到的,weather()函数中的最后一行是一个for循环,该循环未完成,这在python中是不允许的。如果您不想在这个循环中做任何事情,您应该使用pass关键字,如下所示:
|
2
0
你的循环需要做些什么。要不执行任何操作,请使用“pass”关键字。
|
July · 如何定义数字间隔,然后四舍五入 1 年前 |
user026 · 如何根据特定窗口的平均值(行数)创建新列? 1 年前 |
Ashok Shrestha · 需要追踪特定的颜色线并获取坐标 1 年前 |
Nicote Ool · 在FastApi和Vue3中获得422 1 年前 |
Abdulaziz · 如何对集合内的列表进行排序[重复] 1 年前 |
asmgx · 为什么合并数据帧不能按照python中的预期方式工作 1 年前 |