Quick actions

cmd+k|ctrl+k

Navigation

Languages

while loops

Snippet info

Language

Python

Visibility

public

Author

gustav

Created

2026-07-23T15:52:08.896537Z

Updated

2026-07-24T02:46:02.917199Z

#Another way to loop 
i = 0
while i < 80:
    print(i)
    
    i += 1
#while 0 < 50:
    #print(i)
    #break
#while i < 50:
    ##i += 2
else:
    print('done with all the work')
    
    
    
INFO