If
#!/usr/bin/python

if 1 < 2:
    print 'True';
else:
    print 'False';

#ternary condition
a = True if (1 < 2) else False;
print a;
		
Reference