Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for x in range(10): #Print x 10 times.
- print(x)
- print("----------------------") #Seperate
- for y in range(5, 20): #Start at 5 and print up to 20.
- print(y)
- print("----------------------") #Seperate
- for i in range(10, 40, 5): #Start at 10 and print up to 40, and count by 5.
- print(i)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement