#if statement x = int(input("enter integer ")) if(x>0): print(x,"is positive") print("End of program") #how the if statement will work #1.x>0 will be evaluated #2. if the value of x>0 is True the program prints the message that x is #positive, and then proceed to next statement after if, and in our case #the program also prints End of program #3. otherwise (the expression x>0 is False), the program SKIPS if #statement and executes the next statement after if. In our case program #prints End of program