0

Intermediate Python: Title Encoder

Little help here, I want to print "YN", "BM" and "NS" on separate lines https://code.sololearn.com/cqCfvvhSNN51/?ref=app

7th May 2021, 12:43 PM
Frimpong Godfred
Frimpong Godfred - avatar
6 Antworten
+ 2
1. Made i +=1 in while cycle, not in for 2. Count len wìthout +1
7th May 2021, 1:09 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
Thank you
7th May 2021, 1:11 PM
Frimpong Godfred
Frimpong Godfred - avatar
+ 1
Sorry, len must be without +1
7th May 2021, 1:12 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
Yeah I corrected that
7th May 2021, 1:38 PM
Frimpong Godfred
Frimpong Godfred - avatar
0
Hi! they are now printed on separate lines.
7th May 2021, 12:55 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Yeah, but not all got printed The second ELEMENT in the list wasn't printed
7th May 2021, 12:56 PM
Frimpong Godfred
Frimpong Godfred - avatar