In this page you learn the if statement in python is same as other languages like c programming language. It is used contains a logical expression test a condition. And decision based on the result of the comparison.
if expression: statement(s)
a=20 if a==20: print "Hello World cup T20"
Hello World cup T20