4 | Python Variables and f-Strings for Testers: Build a Cart Total
Description: Your first steps in Python for testers: store values in variables and print a cart total with an f-string. No coding experience needed.
In this lesson:
- Store numbers and text in variables
- Calculate a total from a price and a quantity
- Print a clean message with an f-string
- Read a simple Python error
Previous lesson: GitHub and Git Branches for Testers https://youtu.be/5qXZF2EtaCo
Next lesson: Python Loops and if / else for Testers https://youtu.be/HpeD_cZ09IU
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:
- Store numbers and text in variables
- Calculate a total from a price and a quantity
- Print a clean message with an f-string
- Read a simple Python error
Previous lesson: GitHub and Git Branches for Testers https://youtu.be/5qXZF2EtaCo
Next lesson: Python Loops and if / else for Testers https://youtu.be/HpeD_cZ09IU
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
