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.') enter
• 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.') enter
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.)
Python 3.8.7 (tags/v3.8.7:6503f05, Dec 21 2020, 17:59:51) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print('This is a test of the Python interpreter.')
This is a test of the Python interpreter.
>>>