小编Nil*_*far的帖子

reverse a list of Ordered pair in python

I have a list of Ordered pair in python like [(1,45),(21,28),(43,110),(4,81)] and I want to reverse each items in list like [(45,1),(28,21),(110,43),(81,4)]. what should I do?

python python-3.x

-1
推荐指数
1
解决办法
65
查看次数

标签 统计

python ×1

python-3.x ×1