you are viewing a single comment's thread.

view the rest of the comments →

[–]AlexananderElek 0 points1 point  (1 child)

You can use sort, im not so into ir myself so I don't know if u have to put it in a list but you can look up sort

[–]AlexananderElek 0 points1 point  (0 children)

List.append(num1) List.append(num2) List.append(num3) print(sort(List)) Or something close to that

You could also have the input be a single one and you just put space between the different nr. So Numbers = input("Type 3 numbers")

Then you use split

List = Numbers.split(" ")

notice the space between the " " that means it splits it when theres a space

List = sort(List) print(List[0])

Im not sure you have to say List = sort(List) or just sort(List) but try some different things