What is Wrong with my code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is Wrong with my code?

I have written a python code for Code Coach problem "New Driver License". 2 tests passed but 3 failed. Anyone Help me to find what is wrong with my code. Thank You name=input() agent=int(input()) op=input() list=[] list.append(op) list.append(name) list.sort() i=len(list) a=list.index(name) if(a<=i): f=(a+1)*20 print(f)

14th Sep 2020, 7:15 AM
Sameer Ahamed
Sameer Ahamed - avatar
0 Answers