-1
n = int(input("what range?"))
f1=0
f2=1
cont = 1
while cont <= n:
f3 = f1 + f2
f1 = f2
f2 = f3
if f3 % 2 == 0:
print(f3) # Como eu somo os valores de f3 ou transformo ele em uma lista?
cont += 1
Typeerror: 'int' Object is not iterable
Vinicius, I don’t quite understand, but is this what you wanted? https://repl.it/repls/DarkcyanMintcreamDataset
– Daniel Mendes


if F3 % 2 == 0: print(sum(F3)) ``` # I want the result of that while to generate me a list and not a sequence so that I can have the terms contained within it. cont += 1 `– Vinicius Sartori