Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Feb 28th, 2017
83
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
d = {'a': 0, 'c': 0, 'b': 0, 'd': 0}
l = d.values()
s = set(l)
if len(s) == 1 and list(s)[0] == 0:
print "all 0"
else:
print "not all 0"
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
+13,000$ in 2 days
CSS | 14 min ago | 0.91 KB
Method to get 13,000$ in 2 days
CSS | 14 min ago | 0.91 KB
Untitled
1 hour ago | 11.34 KB
Untitled
3 hours ago | 3.59 KB
Untitled
5 hours ago | 10.62 KB
Untitled
7 hours ago | 7.02 KB
Untitled
7 hours ago | 5.54 KB
Untitled
9 hours ago | 10.87 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!