Reference: http://www.wellho.net/mouth/657_The-ternary-operator-in-Python.html
val = float(raw_input(“Age: “))
status = (“working”,“retired”)[val>65]
print “You should be”,status
Reference: http://www.wellho.net/mouth/657_The-ternary-operator-in-Python.html
val = float(raw_input(“Age: “))
status = (“working”,“retired”)[val>65]
print “You should be”,status