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
Auf dieser Seite können Sie das Online-Video Introduction to Conditional Logic in Python: Python Basics mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Real Python 15 September 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,786 Mal angesehen und es wurde von 38 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!