0

Please help me

I can't make ascending program use def and user input 5 number can you help me please ?

25th Nov 2016, 2:56 PM
Gabriel Leon Kristi
Gabriel Leon Kristi - avatar
4 Answers
+ 3
can you elaborate more on what is the expected output ?
25th Nov 2016, 3:56 PM
skycc
skycc - avatar
0
example user input 5 3 1 4 6 output : 1 3 4 5 6
25th Nov 2016, 10:36 PM
Gabriel Leon Kristi
Gabriel Leon Kristi - avatar
0
just use built in sorted function, sorted([5, 3, 1, 4, 6]) shall return [1, 3, 4, 5, 6]
25th Nov 2016, 11:00 PM
skycc
skycc - avatar
0
ok, thanks for your help
25th Nov 2016, 11:02 PM
Gabriel Leon Kristi
Gabriel Leon Kristi - avatar