Code from Class sept 6 Sec 01 import sys; print('%s %s' % (sys.executable or sys.platform, sys.version)) Python 2.7.11 | 64-bit | (default, Jun 11 2016, 11:33:47) [MSC v.1500 64 bit (AMD64)] Type "copyright", "credits" or "license" for more information. IPython 4.1.2 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. PyDev console: using IPython 4.1.2 C:\Users\Susan\AppData\Local\Enthought\Canopy\User\python.exe 2.7.11 | 64-bit | (default, Jun 11 2016, 11:33:47) [MSC v.1500 64 bit (AMD64)] print "hello" hello a = 5 b = 4 print b 4 b = 7 print b 7 b = b + 4 print a + b 16 c = "fred" print c fred type(c) Out[12]: str type(a) Out[13]: int print a + c Traceback (most recent call last): File "C:\Users\Susan\AppData\Local\Enthought\Canopy\User\lib\site-packages\IPython\core\interactiveshell.py", line 2885, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "", line 1, in print a + c TypeError: unsupported operand type(s) for +: 'int' and 'str' print str(a) + c 5fred print a, b 5 11 print b/a 2 print a, b 5 11 print a + b * 3 38 print (a +b) * 3 48 print c fred print c*3 fredfredfred