Question Detail

COS 102 If staments Objective Question

Question

Which keyword is used in Python to begin a decision-making process, as mentioned in the 'Binary Choices' section?
Options
A start
B choose
C select
D if
Correct Answer
Correct Answer

Option D is the correct answer.

Detailed Explanation

Page 5, 'Binary Choices', explicitly states: 'In Python, we use the if keyword to begin this process.'

Hint

The name of the chapter and the section itself give a strong clue.

Question Info