News

#program to print is it positive ,negative,zero num=int(input()) if num>0: print("positive") elif num<0: print("negative") else: print("zero") #program to print if a ...
First, lets look at Pythons if statement code block. Rememeber, to indicate a block of code in Python, you must indent each line of the block by the same amount. If, elif and else are keywords in ...