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