Advertisement
JkSoftware

Day 5 - For Loop with range()

Nov 8th, 2021
725
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. total = 0
  2. for number in range(1, 101):
  3.     total += number
  4. print(total)
  5.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement