SQA Tools Blog

Learn testing and automation, one article at a time

Free tutorials, solved practice problems and interview prep for QA and automation engineers: Python, Playwright, Selenium, SQL, Git and more.

1,677Articles
1,141Solved Python problems
7Topics
100%Free

Latest articles

1,677 articles · page 62 of 140
Python practice

EBook with open and close

Create `EBook` (inherits `Book`) with file_size and format, and methods to open and close the book. Step-by-step explanation, colour-coded code and real output.

2 min readRead →
Python practice

Book class

Create `Book` with title, author and pages, with getter methods. Step-by-step explanation, colour-coded code and real output.

2 min readRead →
Python practice

Laptop class

Create `Laptop` with brand, model and storage, with methods to start up, shut down and check...

2 min readRead →
Python practice

Phone class

Create `Phone` with brand, model and storage, with methods to call, text and check storage. Step-by-step explanation, colour-coded code and real output.

2 min readRead →
Python practice

VIPCustomer with credit

Create `VIPCustomer` (inherits `Customer`) with credit_limit and discount_rate, and a method for available...

2 min readRead →
Python practice

Customer with deposit and withdraw

Create `Customer` with name and balance and methods to deposit and withdraw. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Manager with bonus

Create `Manager` (inherits `Employee`) with department and bonus, and a method for total...

1 min readRead →
Python practice

Employee class

Create `Employee` with name and salary and a method to print them. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Shape with Square and Triangle

Create a `Shape` class with an area method and subclasses `Square` and `Triangle`. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Course with students

Create `Course` with name, teacher and students, with methods to add and remove students and print the...

2 min readRead →
Python practice

StudentRecord with average grade

Create `StudentRecord` with name, age and grades, with methods for the average and a summary. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

ElectricCar with range

Create `ElectricCar` (inherits `Car`) with battery_size and range_per_charge and a method to calculate the...

2 min readRead →

Preparing for a QA interview?

Take free timed mock tests with answers and explanations.