+ 1
What's the error in this code...... Word rank problem
Word rank problem from code coach . Its working fine in code playground but not in code coach https://code.sololearn.com/ctl8T7tEY1XF/?ref=app
12 Antworten
+ 1
only one input is required. why do you have two?
+ 7
Deepak Yadav currently it's not working fine here too. And one input is enough for solve code coch
+ 7
Oh okay
+ 6
Oh okay I'm reviewing your linked code which is deleted right now
+ 3
bahha🐧 yes u are right.. I got tthis... Thanks
+ 3
bahha🐧 GAWEN STEASY But my answer is one less than the desired out i dont know why ...for just solving i just added 1 to output... And it worked
https://code.sololearn.com/cTiytlPDU62i/?ref=app
+ 2
GAWEN STEASY yea u are right... And i forgot that indexing strat from zero...
Thanks for reminding
+ 1
bahha🐧 but the question needs two input
+ 1
Input Format:
A string, representing a sequence of letters (A-Z).
I solved it with one input()
+ 1
But i solved it
+ 1
GAWEN STEASY i just updated it now
+ 1
because list index starts from zero.
so you have to adjust for that.
I solved it the same way you did 😁