Introduction to Computing

Python Execution In Terminal

After installing and configuring the appropriate python run time interpreter for your own computer, you may simply execute the following code in a command line terminal:

python

The python command will start the interpreter.

print("Welcome to Cmpe 150 – Introduction to Computing")

This is the actual source code and you may insert additional lines of code while the interpreter is running. The program will display the Welcome to Boun 102 – Introduction to Programming message on the screen. You can change the message however you want, just remember the use of paired quotation marks and parentheses, following the print function name.

quit()

This command is for exiting the interpreter if you are done with coding and executing.