how if program to how to end a program in an if statement python Using Nested If. Here is the sample run of the above python program to illustrates how to print pattern using stars. … Saturday, February 19, 2022 Edit