+ 1

This is th first time I use the function, what's wrong with this code?? I don't know how to make it better.

I want to rank some person's grades, and if their grades are the same, rank their names as the rank of dictionary. https://code.sololearn.com/czNYtMhCDzOf/?ref=app This is the code which I use the function, but it's wrong. https://code.sololearn.com/cRDnkCeQmHnD/?ref=app This is the code which I don't use the function, and the answer is right.

24th Oct 2019, 12:47 PM
INSIST.
INSIST. - avatar
4 odpowiedzi
+ 1
Miika Thanks for your help, you are absolutely right. I have learnt many things from your words.
25th Oct 2019, 2:57 AM
INSIST.
INSIST. - avatar
0
INSIST. For clarity, You'd better add some comments in your codes. Then it will be easier to read.
25th Oct 2019, 10:41 AM
Jax Young
Jax Young - avatar
0
Jax Yang Fine, you're right.
25th Oct 2019, 4:14 PM
INSIST.
INSIST. - avatar