https://codetofun.com/python/number-pattern/program-9/
Python Number Pattern 9