Def f (* x) :
M=list (x)
Return (Margaret spellings ort (reverse=True))
Print (Margaret spellings ort (reverse=True))
Print (f (4,2,3,1))
I changed, by the way, the problem that do wrong in where?
Def f (* x) :
M=list (x)
L=sorted (m, reverse=True)
Return (l)
Print (f (4,2,3,1))
CodePudding user response:
A list of the built-in sort method has no return valueThe list of operation itself
You can return this list directly to the
Def f (* x) :
M=list (x)
Margaret spellings ort (reverse=True)
Return m