I'm trying to print out the value of i every time the inner loop finishes iterating.
i can be 10, 20, 200, 2000, or any number really, but for this instance I chose 100.
for i in range(1, 3):
for ii in range(1, 100):
i += 1
print(i)
print(i + i)
Given Output:
100
101
Wanted Output:
100
200
How can I get the wanted output?