Python Program Number Pattern Games