What is the problem in this?? This is not working for 10 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the problem in this?? This is not working for 10

https://code.sololearn.com/cCz2GTq9AuLk/?ref=app

5th Apr 2020, 8:11 AM
Raj Pratap Singh
Raj Pratap Singh - avatar
2 Answers
0
How about you just replace 10 at the start. o = o.replace('10','ten')
5th Apr 2020, 8:26 AM
Utkarsh Sharma
Utkarsh Sharma - avatar
0
I tested it, works fine
5th Apr 2020, 8:42 AM
Justus
Justus - avatar