outputs of different list comprehensions in python 3.x

前端 未结 0 1832
野性不改
野性不改 2021-01-07 13:04

I was studying about list comprehension in Python and I am confused why this two codes are producing different outputs. CODE:

print([(letter,num) for letter i         


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