# exp1.py first example simple output integer, string, double # note # makes rest of line a comment i = 7 # declare variable i with initial value 7 ac = 'a' # single character no type required msg = "sample string" # declare msg with string in quotes x = 37.95 # declare floating point x with initial value y = 127.34e10 # declare double precision with initial value print "exp1.py running" # simple print title print "i=", # for decimal "," prevents end of line print i # value after i= print "ac=", # for character print ac print "msg=", # for string print msg print "x=", # for simple floating point print x print "y=", # for double with exponent print y