Number Pattern Code In Python For Creating