the code works fine but the test cases, can anyone help me out https://www.sololearn.com/coach/51?ref=app | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

the code works fine but the test cases, can anyone help me out https://www.sololearn.com/coach/51?ref=app

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

16th Mar 2020, 1:13 PM
Justus
Justus - avatar
2 Answers
+ 3
[Duplicate] Justus did you know that you don't need to convert your string to list and then join it back again. In many situations strings behave like list.
16th Mar 2020, 1:47 PM
Kevin ★
+ 1
Kevin star i didn't know that. Thanks. Updated
16th Mar 2020, 2:05 PM
Justus
Justus - avatar