Iterace S pro Smyčky v Pythonu
names = ["Preet", "Ranjeet", "Adil"]
for name in names:
print(name)
iterátor python
def iter(times):
it = 1
for i in range(times):
its = it * 2
it = its
return it
while True:
print()
print(iter(int(input("how many iteration? : "))))