Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Mar 19th, 2018
84
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.12 KB
| None
|
0
0
raw
download
clone
embed
print
report
integers = [-1, -2, -5, 0, 1, 6, 7]
naturals = []
for i in integers:
if i >= 0:
naturals.append(i)
print naturals
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
JSON | 1 min ago | 13.26 KB
snowybot trial
JavaScript | 6 min ago | 1.82 KB
Odd Even Linked List
C++ | 7 min ago | 1.30 KB
lol
JavaScript | 10 min ago | 1.83 KB
Internal Bank Account
SQL | 38 min ago | 4.67 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 45 min ago | 0.39 KB
fedora-40-workstation-installer-won't-st...
Bash | 48 min ago | 3.81 KB
Untitled
Lua | 58 min ago | 3.37 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!