Dell Technologies interview question

They asked to explain a code to reverse a list in python without using predefined functions.