5 | Python Loops and if / else for Testers: Repeat and Decide
Description: Learn the two ideas behind most test code: repeat work with a loop and make decisions with if and else. Built step by step on the cart project.
In this lesson:
- Repeat work with a for loop
- Make decisions with if, elif and else
- Compare values
- Combine a loop and a decision in one small program
Previous lesson: Python Variables and f-Strings for Testers https://youtu.be/wV7hmoaeKBs
Next lesson: Python Functions for Testers https://youtu.be/mWMPHR4FceA
Free course on Udemy, with two short quizzes: https://www.udemy.com/course/python-and-git-for-testers-learn-coding-for-test-automation/?referralCode=DDD96CB2D94250E08531
Full playlist, in order: https://www.youtube.com/playlist?list=PLbdk4_6KQS2o
Code for this course: https://github.com/anuradha-learn/python-pytest-bridge
Website: https://anuradhaagarwal.com
LinkedIn: https://www.linkedin.com/in/anuradhaagarwal
About me: I am Anuradha Agarwal, a test automation specialist and trainer with decades of industry and teaching experience, and a Master's degree in Data Science. This channel is about modern QA testing. Subscribe if you want more lessons like this.
If this lesson helped you, write one line in the comments about what you built or what you got stuck on. Close description
In this lesson:
- Repeat work with a for loop
- Make decisions with if, elif and else
- Compare values
- Combine a loop and a decision in one small program
Previous lesson: Python Variables and f-Strings for Testers https://youtu.be/wV7hmoaeKBs
Next lesson: Python Functions for Testers https://youtu.be/mWMPHR4FceA
Free course on Udemy, with two short quizzes: https://www.udemy.com/course/python-and-git-for-testers-learn-coding-for-test-automation/?referralCode=DDD96CB2D94250E08531
Full playlist, in order: https://www.youtube.com/playlist?list=PLbdk4_6KQS2o
Code for this course: https://github.com/anuradha-learn/python-pytest-bridge
Website: https://anuradhaagarwal.com
LinkedIn: https://www.linkedin.com/in/anuradhaagarwal
About me: I am Anuradha Agarwal, a test automation specialist and trainer with decades of industry and teaching experience, and a Master's degree in Data Science. This channel is about modern QA testing. Subscribe if you want more lessons like this.
If this lesson helped you, write one line in the comments about what you built or what you got stuck on. Close description
