To simply run toy problems in the terminal: #############
- Navigate to the directory ~/Python-Problems in the terminal.
- Type
python NAME_OF_FILE
. For example,python reverse_string.py
. - If there are print statements or returns, they will appear in the terminal.
To run test suite: #############
- Same as step one above.
- Type
python <test_file_name>.py
. - Outputs, such as passes, failures, and errors will display.