Number Pattern Program In Python