Pergunta de entrevista da empresa Chegg

reverse the list in python. probability question very simple