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

Fill the step that reverses a list via slicing.

rev = lst[::____]

Answer: -1 (also accepted: -1)

lst[::-1] returns the list reversed.
Play Problem Solving ▸