Don't know if I'm just being stupid right now but I'm trying to convert a list of int to one int. The problem is that I am trying to do it with just a list comprehension but I'm failing every time
class MathStuff():
def add_stuff(self, *stuff):
items = 0
numbers = (i for i in stuff)
items += [i for i in e]
#trying to do "for i in (i for i in stuff)" but assign it to a variable
I've tried multiple ways to do this without a "for loop" but I'm hitting a brick wall with my google searching.