Lists In Python Hackerrank Solution