Python for Everybody (Video/PY4E)
3.1 If-Then-Else

3.1 If-Then-Else

Python for Everybody (Video/PY4E)

13:29

About this episode

The most basic conditional structure is the if statement where we either execute or skip a segment of code based on the results of a logical expression (i.e. asking a question).

More from Python for Everybody (Video/PY4E)

1.1 Why Program

Explore the nature of programming and how programming a computer is different than using a computer.

12m

In this lecture we learn abut how the computer processes and stores programs. We learn about the CPU, Memory, Storage and Input / Output devices are brought together to write a program.

12m

We look at how writing programs is just another form of communication. Instead of communicating with another person, we are communicating our ideas to a computer.

7m

We look at the basics of the Python language and how we write code in Python to communicate sequential steps, conditional steps and repeated steps.

12m