[ad_1]
First, you should be more specific of what you expect.
If you want your list to be the sum of the numbers in the tuples, here’s what you can do:
listnum = [sum(x) for x in listnum]
1
[ad_2]
solved How can I add tuples in a list? [closed]
[ad_1]
First, you should be more specific of what you expect.
If you want your list to be the sum of the numbers in the tuples, here’s what you can do:
listnum = [sum(x) for x in listnum]
1
[ad_2]
solved How can I add tuples in a list? [closed]