How do I stop the For cycle when it reaches a certain condition?
For example, it would be when c is equal to 5.
for c in range(1,10):
print('a,b,c')
if c % 5:
break
Next, a function will be used, but I'd like to understand the flow...
asked by
15.08.2018 / 22:59