======== QUIZ(II) ======== NAME: EMAIL: (01) return with no argument returns __________________________ ==> None (02) >>> print "%f" % 3.14 ==> 3.140000 (03) >>> print "%g" % 3.14 ==> 3.14 (04) >>> print "hello"; print "goodbye" ==> hello goodbye (05) >>> print "hello", ; print "goodbye" ==> hello goodbye (06) >>> print "hello", "goodbye" ==> hello goodbye (07) >>> print "hello" + "goodbye" ==> hellogoodbye (08) >>> print "%s %s" % ("hello", "goodbye") ==> hello goodbye (09) >>> print "%s%s" % ("hello", "goodbye") ==> hellogoodbye (10) >>> import sys >>> sys.stdout.write("hello"); sys.stdout.write("goodbye") ==> hellogoodbye>> (11) >>> range(5) ==> [0, 1, 2, 3, 4] (12) >>> range(3, 7) ==> [3, 4, 5, 6] (13) >>> range(3, 9, 2) ==> [3, 5, 7] (14) >>> range(5, 0, -1) ==> [5, 4, 3, 2, 1] (15) List ways of convering the following integer to a string: >>> myInt = 1004 ==> str(myInt) ==> `myInt` ==> repr(myInt) ==> myInt.__str__()