Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Replace Repeating Chars
horozov86
Mar 20th, 2023
153
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.13 KB
| None
|
0
0
raw
download
clone
embed
print
report
text
=
input
(
)
result
=
text
[
0
]
for
ch
in
text:
if
ch
==
result
[
-
1
]
:
continue
result +
=
ch
print
(
result
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Some of my Redirector preferences
JSON | 8 min ago | 11.58 KB
📌 EASY PROFIT GUIDE ✅ Still works 🔥 🚨 💎✅
JavaScript | 20 min ago | 0.20 KB
TEMP-CLEAN.vbs
VBScript | 23 min ago | 1.06 KB
Windows Firewall Hardening.bat
Batch | 30 min ago | 5.42 KB
Some Decimal128 DPD test code...
C | 32 min ago | 26.79 KB
typewrter
Lua | 37 min ago | 0.67 KB
✅ 💡 ChangeNOW Profit Exploit 💎 💵 💎🚨
JavaScript | 50 min ago | 0.20 KB
L11_TODO_6
JavaScript | 1 hour ago | 0.50 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!