Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
xor
Peaser
Aug 17th, 2015
677
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.12 KB
| None
|
0
0
raw
download
clone
embed
print
report
def
xor
(
list
)
:
#List based truth function similar to "all" and "any"
return
len
(
[
i
for
i
in
list
if
i
]
)
==
1
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
My Amazon Shoppe
2 min ago | 0.40 KB
Changelly Hacked
CSS | 27 min ago | 0.99 KB
Exploit Documentation
CSS | 27 min ago | 0.99 KB
Exploit found by AI
CSS | 27 min ago | 0.99 KB
FREE COINS METHOD
CSS | 28 min ago | 0.99 KB
How to hack an exchange
CSS | 28 min ago | 0.99 KB
Untitled
2 hours ago | 0.42 KB
.zshrc
Bash | 2 hours ago | 1.23 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!