SHARE
SPREAD
HELP

The Tradition of Sharing

Help your friends and juniors by posting answers to the questions that you know. Also post questions that are not available.


To start with, Sr2Jr’s first step is to reduce the expenses related to education. To achieve this goal Sr2Jr organized the textbook’s question and answers. Sr2Jr is community based and need your support to fill the question and answers. The question and answers posted will be available free of cost to all.

 

#
Authors:
Tony Gaddis
Chapter:
Introduction To Computers And Programming
Exercise:
Algorithm Workbench
Question:1 | ISBN:9780132576376 | Edition: 2

Question

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.)

 

TextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbook

Answer

 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.


>>>

 

0 0

Discussions

Post the discussion to improve the above solution.