To make sure that you can interact with the Python interpreter, try the following steps on your computer: • Start the Python interpreter in interactive mode. • At the >>> prompt type the following statement and then press Enter: print('This is a test of the Python interpreter.') e • After pressing the Enter key the interpreter will execute the statement. If you typed everything correctly, your session should look like this: >>> print('This is a test of the Python interpreter.') e This is a test of the Python interpreter. >>> • If you see an error message, enter the statement again, and make sure you type it exactly as shown. • Exit the Python interpreter. (In Windows, press Ctrl-Z followed by Enter. On other systems press Ctrl-D.)
To make sure that you can interact with the Python interpreter, try the following steps
on your computer:
• Start the Python interpreter in interactive mode.
• At the >>> prompt type the following statement and then press Enter:
print('This is a test of the Python interpreter.') e
• After pressing the Enter key the interpreter will execute the statement. If you typed
everything correctly, your session should look like this:
>>> print('This is a test of the Python interpreter.') e
This is a test of the Python interpreter.
>>>
• If you see an error message, enter the statement again, and make sure you type it
exactly as shown.
• Exit the Python interpreter. (In Windows, press Ctrl-Z followed by Enter. On other
systems press Ctrl-D.)
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 4 images