Question Detail

COS 102 If staments Objective Question

Question

In Python, which keyword is used to initiate a decision-making process based on a Boolean result?
Options
A start
B condition
C if
Correct Answer
D decision
Correct Answer

Option C is the correct answer.

Detailed Explanation

According to page 5, 'In Python, we use the if keyword to begin this process' of decision making based on a Boolean result.

Hint

Think about the basic syntax shown on page 6 for starting a conditional block.

Question Info