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