Python Code For Number Pyramid