RosettaCodeData/Task/Loops-Do-while/Python/loops-do-while-1.py

6 lines
70 B
Python

val = 0
while True:
val +=1
print val
if val % 6 == 0: break