Python comprehensive list double loop

前端 未结 0 2023
情深已故
情深已故 2021-01-17 04:52

Please how i can write this loops using list comprehensive in python :

X = [i for i in range(3)]
Y = [i for i in range(2)]
my_list = []
for x in X:
    ccnt=          


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