+ 1
Why the output is showing none in this program?
https://code.sololearn.com/cB7pbRJmyHlb/?ref=app https://code.sololearn.com/cB7pbRJmyHlb/?ref=app
4 ответов
+ 6
// You have created variable called "n" in the second line.
Solved:
// https://code.sololearn.com/c8orKWI9RmED/?ref=app
+ 2
You can see two possible solutions in the code below.
https://code.sololearn.com/cfjZy451dUFo/?ref=app
Hope it helps you.
+ 2
Print (num)
sort(reverse=True)
0
Thanks