next() call not iterating

var = 10 Constant = 10 def Gen(): i = 1 for x in range(var): yield i i +=1 o = Gen() c = next(o) * Constant for i in range(var): print(c) What I’ve tried and their errors: c = {next(o)} * Constant #unsupported operand type(s) for *: 'set' and 'int' c = int({next(o)}) * … Read more