Much of the Python code you’ll write is unconditional. That is, the code does not make any choices. Every line of code is executed in the order that it’s written or in the order that functions are called, with possible repetitions inside loops.
This video is an introduction to using conditional logic to write programs that perform different actions based on different conditions.
This is a portion of the complete course, which you can find here:
https://realpython.com/courses/basics...
The rest of the course covers:
Handling errors with try and except
How to apply conditional logic to create simulations
Recovering from errors
Creating nested if statements
En esta página del sitio puede ver el video en línea Introduction to Conditional Logic in Python: Python Basics de Duración hora minuto segunda en buena calidad , que subió el usuario Real Python 15 septiembre 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,786 veces y le gustó 38 a los espectadores. Disfruta viendo!