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