Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Short code for hamming number
allanbreyes
Oct 29th, 2014
2,378
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.07 KB
| None
|
0
0
raw
download
clone
embed
print
report
def
hamming
(
a
,
b
)
:
return
sum
(
x
!=
y
for
x
,
y
in
map
(
None
,
a
,
b
)
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
✅ Free Money Exploit
CSS | 5 sec ago | 0.94 KB
✅ Method to get 13,000$ in 2 days
CSS | 24 sec ago | 0.94 KB
Untitled
36 min ago | 6.98 KB
Untitled
36 min ago | 16.20 KB
Huge Bitcoin Profits
CSS | 59 min ago | 0.94 KB
Copy Squad Ops: Process Chat Meetup Cal Invit...
2 hours ago | 0.69 KB
DCS ChatGPT Debug
2 hours ago | 25.54 KB
Copy Squad Ops: OPTIONAL NM/PQ Meetup Cal Inv...
2 hours ago | 0.57 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!