array1=[1, 2, 3]
array2=[0, 1, 2]
a = [10, 20, 30]
b = [100, 200, 300]
padded = ['001', '002', '003']
array1 = iter(array1)
array2 = iter(array2)
a = iter(a)
b = iter(b)
padded = iter(padded)
func= (
f" array1 {next(array1)} \n"
f" array2 {next(array2)} \n"
f" ... a {next(a)} \n"
f" ... b {next(b)} \n"
f" padded {next(padded)} \n"
)
for i in range(2):
print(func)
Is not iterating.
Wasn't planning to be learning to code, though here we are. Really appreciate the help.