101 sec 02 sept 6 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)] a = 5 print a 5 b = 4 print b 4 c = "Fred" print type(c) print type(B) 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 type(B) NameError: name 'B' is not defined print type(b) print a + b 9 b = b + 3 print b 7 a = 11 print c Fred print c + 3 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 c + 3 TypeError: cannot concatenate 'str' and 'int' objects print c*3 FredFredFred print c + str(3) Fred3