1,760
edits
Changes
→Explore Python versions on Matrix
==== Explore Python versions on Matrix ====
:* Once you are on matrix.senecacollege.ca, run the "'''python" ''' command to start a Python version 2 interactive shell at the command prompt. The last line displayed should be "'''>>>"'''. "the '''>>>" ''' sign is referred to as the Python interactive shell prompt.
:** python
:** at the "'''>>>" ''' prompt, type help('keywords') and record the output:** at the '''>>>''' prompt, type help('symbols') and record the output:** type exit() at the "'''>>>" ''' prompt to exit from the Python interactive shell.:* Run the "'''python3" ''' command to start a Python version 3 interactive shell session at the command prompt.
:** python3
:** at the "'''>>>" ''' prompt, type help('keywords') and record the output:** at the '''>>>''' prompt, type help('symbols') and record the output
:** type exit() at the ">>>" prompt to exit from the Python interactive shell.
:* Compare the list of keywords and symbols for Python version 2 and version 3. Which keyword(s) is/are remove from version 2 in version 3?
=== Part II - Create directory structure for Labs and Assignments ===