#!/usr/bin/python # this is the undefined value in Python x = None y = 3 print "x: ", x print "y: ", y # this if will be FALSE and the text will NOT be printed if x: print "x is defined" # this if will be TRUE and the text will be printed if y: print "y is defined"