Chapter 4, Making Decisions – Python Control Flows
Questions |
Answers |
---|---|
Q1. How many times can the |
As many times as it is needed |
Q2. Which statement starts a conditional block of code that is used to make decisions? |
if |
Q3. Which statement is only used at the end of a conditional block of code? |
else |
Q4. What is a global variable? |
Both 2 and 3 |
Q5. What is a |
A loop that repeats code until something different happens, and then it stops |
Get Python Projects for Kids now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.