Full Pyramid Program In Python For Prime