Assign list of objects to multiple variables

后端 未结 0 1123
眼角桃花
眼角桃花 2020-12-15 10:42

I have list like this my_list = [(1,2),(5,3),(3,6),(9,7)], I want output like this a = (1,2), b=(5,3),c=(3,6),d=(9,7). Based on list size variables may increases Or decrease

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