Python 30 days challenge hackerrank