Posts by Cosmo • 21 points
1 post
-
1
votes2
answers154
viewsQ: Sorted returns white space inside the Array
I want the program to receive 2 numbers and show them in ascending order: a = input() x = a print(sorted(x)) But with that when I write 3 2, he shows [" ", "2", "3"]. How do I eliminate space?…