91-9990449935
0120-4256464
Syntax:
if(condition): False statements else: True statements
Example-
year=2000 if year%4==0: print "Year is Leap" else: print "Year is not Leap"
Output: Year is Leap
Output: