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

Fill in the in-place list method.

nums.____()  # reverse the list in place

Answer: reverse (also accepted: reverse)

list.reverse() mutates the list and returns None.
Play Problem Solving ▸