Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jul 20th, 2017
133
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
import
re
def
zip_dna
(
dna
)
:
return
''
.
join
(
map
(
lambda
x: x
[
0
]
+
str
(
len
(
x
[
0
]
+ x
[
1
]
)
)
,
re
.
findall
(
r
'([a-zA-z])(
\1
*)'
,
dna
)
)
)
print
(
zip_dna
(
input
(
)
)
)
Add Comment
Please,
Sign In
to add comment
Public Pastes
✅ MAKE $9OO INSTANTLY D W
JavaScript | 4 sec ago | 0.28 KB
✅ MAKE $500 IN 15 MIN
JavaScript | 7 sec ago | 0.15 KB
✅ MAKE $9OO INSTANTLY D T
JavaScript | 7 sec ago | 0.28 KB
✅ MAKE $900 INSTANTLY
JavaScript | 12 sec ago | 0.15 KB
Free Giftcards Method
JavaScript | 16 sec ago | 0.15 KB
✅ Make $15OO in 2O minutesV X
JavaScript | 19 sec ago | 0.28 KB
✅ Crypto Accounts
JavaScript | 21 sec ago | 0.15 KB
ChangeNOW Bug (Get more on BTC swaps x) S
JavaScript | 21 sec ago | 0.28 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!