Python Program For Number Pattern Finder