Smart Interview Basic Hackerrank Python Beginner