$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · medium · #3

Fill the slice step that reverses a Python list.

reversed_list = nums[::____]

Answer: -1 (also accepted: -1)

A step of -1 walks the list backwards.
Play Problem Solving ▸