$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #43

Fill the list method that sorts in place ascending.

arr = [3, 1, 2]
arr.____()  # [1, 2, 3]

Answer: sort (also accepted: sort)

list.sort() sorts the list in place.
Play Problem Solving ▸