Using Python's and Operator

preview_player
Показать описание
Python has three Boolean operators, or logical operators: and, or, and not. You can use them to check if certain conditions are met before deciding the execution path your programs will follow. In this video course, you’ll learn about the and operator and how to use it in your code.

This is a portion of the complete course, which you can find here:

In the complete course you will also learn how to:

- Build and understand Boolean and non-Boolean expressions that use the and operator
- Use the and operator in Boolean contexts to decide the course of action of your programs
- Use the and operator in non-Boolean contexts to make your code more concise
Рекомендации по теме