07. Sum Numbers

Mar 1st, 2021
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. n = int(input())
  3. # за всяко едно число от първото до n-тото
  4.     # прочитам стойност и да я съхранявам
  5. sum = 0
  6. for number in range(1, n + 1):
  7.     value = int(input())
  8.     sum += value
  10. print(sum)
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add to your ad blocker whitelist or disable your adblocking software.