#!/usr/bin/python
var = 100
if ( var == 100 ) : print "Value of expression is 100"
print "Bye!"In this program, I will explain one-line if condition in Python.
In this program, I will explain one-line if condition in Python.
#!/usr/bin/python
var = 100
if ( var == 100 ) : print "Value of expression is 100"
print "Bye!"