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,901Articles
1,141Solved Python problems
7Topics
100%Free

Latest articles

1,901 articles · page 85 of 159
Python practice

Python OOP Programs with Solutions

48 Python OOP exercises with solutions: classes, constructors, inheritance, overriding, abstract classes, encapsulation, properties and real-world classes.

5 min readRead →
Python practice

Cartesian product of two sets

Write a Python program to find the cartesian product of two sets. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Longest word in a set

Write a Python program to find the longest word in a set. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Books two readers both own

Write a Python program to create two sets of books and find the books in both. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Set of favourite movies

Write a Python program to create a set of favourite movies and add one more. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Set of favourite actors

Write a Python program to create a set of your favourite actors. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Set of odd numbers

Write a Python program to create a set of odd numbers from 1 to 20. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Set of even numbers

Write a Python program to create a set of even numbers from 1 to 20. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Set to a dictionary

Write a Python program to convert a set into a dictionary. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

“Index” of an element in a set

Write a Python program to find the position of an element in a set. Step-by-step explanation, colour-coded code and real output.

1 min readRead →

Preparing for a QA interview?

Take free timed mock tests with answers and explanations.