Python基础 · free preview

Making Choices

Write conditional statements including `if`, `elif`, and `else` branches. Correctly evaluate expressions containing `and` and `or`.

1. Overview

Overview

2. Conditionals

Conditionals

3. Comparing in Python

Comparing in Python

4. `True` and `False`

True and False

5. Checking our Data

Checking our Data

6. How Many Paths?

How Many Paths?

7. What Is Truth?

What Is Truth?

8. That's Not Not What I Meant

That's Not Not What I Meant

9. Close Enough

Close Enough

10. In-Place Operators

In-Place Operators

11. Sorting a List Into Buckets

Sorting a List Into Buckets

12. Counting Vowels

Counting Vowels

Practice this interactively

Free account · instant grading · spaced review that schedules itself.

Start this course for free