+ 3
Hi guys!! Please help me solve this error in test cases.
https://www.sololearn.com/coach/18?ref=app Here is my code in this: https://code.sololearn.com/cCmaZYH6Q6lz/?ref=app I really have no idea why the code is not passing one test case. Someone please help me in solving this😞
3 Antworten
+ 2
Try after sort list this instead several 'if'
p=l.index(name)
if p in range(group):
print(20)
else:
print(p//group*20+20)
+ 6
hey...
muuuuuuuch tooooo complicated.
Did u understand the example?
Looks for me like not.
put some comments on it.
+ 3
Alexey Rubtsov this is working.thanks😊