Why the output is showing none in this program? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
16th Mar 2019, 12:56 PM
Aditya
4 Answers
+ 6
// You have created variable called "n" in the second line. Solved: // https://code.sololearn.com/c8orKWI9RmED/?ref=app
16th Mar 2019, 1:05 PM
program
program - avatar
+ 2
You can see two possible solutions in the code below. https://code.sololearn.com/cfjZy451dUFo/?ref=app Hope it helps you.
16th Mar 2019, 1:14 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 2
Print (num) sort(reverse=True)
17th Mar 2019, 6:42 AM
Bhavesh Sen
Bhavesh Sen - avatar
0
Thanks
16th Mar 2019, 1:39 PM
Aditya