How to write program in for display array in ascending order | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to write program in for display array in ascending order

Pls tell me how to solve this problem

18th Feb 2020, 5:21 PM
Ajay More
Ajay More - avatar
1 Answer
+ 1
print(sorted(array))
18th Feb 2020, 5:26 PM
Russ
Russ - avatar