15
s v
Last seen 3 days ago
Member for 2 years, 3 months, 23 days
Difficulty Normal
Liked
a comment created by Phil15
for
forum post "sorted( () ), key=int, reverse=True)"
elements: 2.2, 5.6, 5.9 keys: 2, 5, 5 Only the keys are compared, the elements don'
Created a forum post "sorted( () ), key=int, reverse=True)"
But how? I don't understand.
>>> sorted((2.2, 5.6, 5.9), key=int, reverse=True)
[5.6, 5.9, 2.2]
Commented a forum post "SyntaxWarning in checkio engine" created by
slv
i got it, thanks
Commented a forum post "SyntaxWarning in checkio engine" created by
slv
def checkio(d):
s = ['+','-','*','/','']
bo = ['','(']
bc = ['',')']