Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
07. Sum Numbers
desislava_topuzakova
Apr 24th, 2021
1,287
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
n
=
int
(
input
(
)
)
sum
=
0
# за всяко едно число от 1 до n
for
number
in
range
(
1
,
n +
1
)
:
value
=
int
(
input
(
)
)
sum
+
=
value
print
(
sum
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Older node trading
CSS | 2 min ago | 1.01 KB
✅ FREE COINS METHOD
CSS | 3 min ago | 1.01 KB
How to hack an exchange
CSS | 3 min ago | 1.01 KB
Got $12,000 from this method
CSS | 3 min ago | 1.01 KB
Instant Profits Method
CSS | 10 min ago | 1.01 KB
✅ +12,000$ in 2 days
CSS | 10 min ago | 1.01 KB
Get $12,000 from this mehtod
CSS | 12 min ago | 0.86 KB
✅ Easiest method for beginners
CSS | 12 min ago | 1.01 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!