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