Hackerrank Answers For Python List