Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 24th, 2018
65
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
mlist = []
for x in range(1, 1000):
if x %3 ==0 and x % 5 ==0:
mlist.append(x)
elif x % 3 ==0:
mlist.append(x)
elif x % 5==0:
mlist.append(x)
print(sum(mlist))
Add Comment
Please,
Sign In
to add comment
Public Pastes
WAVESHARE esp32-S3 Relay 6Ch-TEST RELAY
Arduino | 21 sec ago | 0.93 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 7 min ago | 0.39 KB
trello importer
JavaScript | 1 hour ago | 1.95 KB
LibNebulaNodesBPLibrary.h
C++ | 1 hour ago | 1.90 KB
Untitled
Python | 1 hour ago | 2.57 KB
MainScript 4
CSS | 2 hours ago | 1.73 KB
Interceptor JS
JavaScript | 2 hours ago | 3.15 KB
Sigma style
LScript | 2 hours ago | 0.10 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!