Question Detail

COS 102 lecture 4 Objective Question

Question

What is a 'statement' in Python?
Options
A A single line of comment within the code.
B A function definition that returns a value.
C An instruction that a Python interpreter can execute.
Correct Answer
D A data type used for storing textual information.
Correct Answer

Option C is the correct answer.

Detailed Explanation

Page 21 defines statements: 'Statements are instructions that a Python interpreter can execute.'

Hint

The very first line under 'Python Statements' on page 21 provides the answer.

Question Info