List comprehension using `x,y` vs. printing the results

后端 未结 0 818
北荒
北荒 2021-02-07 05:28

I was wondering why I’m getting the following output:

for x,y in zip([2,5],[4,3]):
    print(x)
    print(\'hello\')
    pr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题