Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- counter = 0 #Initialize counter
- while counter < 8: #Check for condition
- print("Current number: ", counter) # Do something
- counter += 1 # Increment counter (counter += 1 is the same as counter = counter + 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement