Pregunta de entrevista de Chegg

reverse the list in python. probability question very simple