Question Detail

COS 102 lecture 4 Objective Question

Question

Which of the following is listed as a Python keyword in the document?
Options
A variable
B function
C assert
Correct Answer
D identifier
Correct Answer

Option C is the correct answer.

Detailed Explanation

On page 15, a list of Python keywords is provided, and 'assert' is present in that list. The other options are general programming terms, not reserved keywords.

Hint

Refer to the 'Keywords' section on page 15 and scan the provided list.

Question Info