0

i have a list that is list = [3, 25, 1] But when i use list.sort(), the output is [1,25,3] I suppose it take it as a string, and order them by their first character... How do i make it sort them by the int order? It is in python 3

Ry-
  • 218,210
  • 55
  • 464
  • 476

0 Answers0