空列表for循环不报错吗?

不报错,按照如下测试下就是

for i in []:
    print(222)

 

posted @ 2022-08-19 09:08  tslam  阅读(20)  评论(0编辑  收藏  举报