For this code:
for i, num in enumerate(range(20)):
if num > 10:
i += 1
print(num)
The idea is to get it to skip every other iteration after num > 10, however it just prints all the items in the range.
Is there a way to skip the next/several iteration(s) of a for loop?