Python - passing arguments as tuple of two

后端 未结 0 2010
挽巷
挽巷 2020-12-07 01:52

what I\'m trying to do is to get the following output:

[(2, 8), (6, 16)]

from this input: (2,4,1,2,3,4)

So basically I\'m multiplying the first number w

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