Advertisement
JkSoftware

Day 5 - Exercise Add Even Numbers

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