Question Detail

BIO 107 While Loops & Control Flow Objective Question

Question

What is the primary method Python uses to define what's inside a loop, according to the 'Key Takeaways'?
Options
A Curly braces <code>{}</code>.
B Parentheses <code>()</code>.
C Indentation.
Correct Answer
D Keywords like <code>begin</code> and <code>end</code>.
Correct Answer

Option C is the correct answer.

Detailed Explanation

Slide 14, 'Key Takeaways', states: 'Python uses Indentation to define what's inside the loop.'

Hint

Recall Python's unique syntax for blocks of code.

Question Info