The first 1,000 people to use the link will get a 1 month free trial of Skillshare: https://skl.sh/kylieying01231
In this video, we discuss conditional statements. So far, all of our scripts have been a straightforward flow of code. However, sometimes you are required to evaluate a condition and determine what to do based on the result of the condition. This requires something called an "if statement".
If statements come in 3 forms: if, if-else, and if-elif-else. We can chain these together to form really powerful programs! These are known as conditionals. Using these statements, we can have our script execute different branches of the code. Learn more about conditionals/if statements in this video
#python #programming #conditionals #skillshare
Feel free to leave any questions.
Please consider subscribing if you liked this video: https://www.youtube.com/c/ycubed?sub_...
Thanks for watching everyone!
~~~~~~~~~~~~~~~~~~~~~~~~
Follow me on Instagram: / kylieyying
Follow me on Twitter: / kylieyying
Check out my website: https://www.kylieying.com
Watch video Conditionals: if, elif, else statements | Python for Beginners Lesson 5 | Code with Kylie online without registration, duration hours minute second in high quality. This video was added by user Kylie Ying 15 January 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 7,514 once and liked it 271 people.