Advertisement
JkSoftware

Day 5 - For Loop with range()

Nov 8th, 2021
782
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.07 KB | None | 0 0
  1. total = 0
  2. for number in range(1, 101):
  3.     total += number
  4. print(total)
  5.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement