1 2 3 4 5
a = 9 if a < 10: print "Number is less than 10" else: print "Number is greater than or equal to 10"
You can clone a snippet to your computer for local editing. Learn more.