Is it possible to add an element to the 'for' loop after the loop has started, so that the loop will include this element?
x = [object1, object2]
for object in x:
if statement:
x.append(object3)
or should i find a way in "while" loop?