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 130 of 159
Python practice

Which group of ten a number belongs to

Write a Python program that splits 1-100 into 10 groups (1-10, 11-20, ... 91-100) and finds which group a number belongs to, using nested...

2 min readRead →
Python practice

Roller coaster eligibility

Write a Python program to check whether a person can ride a roller coaster: eligible when age is greater than...

1 min readRead →
Python practice

Check if a value is a dictionary

Write a Python program to check whether a value is a dictionary. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Check if a value is a list

Write a Python program to check whether a value is a list. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Check a boolean value

Write a Python program to check whether a value is of boolean type. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Check a complex number

Write a Python program to check whether a value is of complex type. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Check if two numbers are equal

Write a Python program to check whether two numbers are equal. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Check if a number is the cube of 3

Write a Python program to check whether a number is the cube of 3, and in general whether it is a perfect...

1 min readRead →
Python practice

Check divisibility by 12

Write a Python program to check whether a number is divisible by 12. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Round a float to 2 decimals

Write a Python program that checks whether a value is a float and, if so, rounds it to 2 decimal...

1 min readRead →
Python practice

Season from a month

Write a Python program that reads a month name and prints its season (Indian seasons: Winter Dec-Feb, Summer Mar-May, Monsoon Jun-Sep, Post-monsoon...

2 min readRead →

Preparing for a QA interview?

Take free timed mock tests with answers and explanations.