Python Programme for Run length Encoding | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Python Programme for Run length Encoding

Input: AABBCAAA OUTPUT: 2A2B1C3A

10th Jan 2019, 5:32 AM
Rajeev Sharma
Rajeev Sharma - avatar
5 Answers
10th Jan 2019, 5:48 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
Actually you're supposed to post your own attempt first. But you'll find a lot of those codes if you look for "string compression". https://code.sololearn.com/c70Rgk7brqY4/?ref=app
10th Jan 2019, 6:22 AM
Anna
Anna - avatar
+ 1
Interesting challenge. I will attempt it.
10th Jan 2019, 5:38 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 1
Thanks Anna for the Solution
12th Jan 2019, 5:46 PM
Rajeev Sharma
Rajeev Sharma - avatar
0
Prometheus, Please Check your solution
12th Jan 2019, 5:46 PM
Rajeev Sharma
Rajeev Sharma - avatar