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

Copy special characters to a new list

Write a Python program to copy the special characters from a list into an empty list. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Copy odd numbers to a new list

Write a Python program to copy the odd numbers from a list into an empty list. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Copy even numbers to a new list

Write a Python program to copy the even numbers from a list into an empty list. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Count special characters

Write a Python program to count the special characters (not letters, digits or spaces) in a string. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Days of the week except Sunday

Write a Python program to print the days of the week except Sunday using a while loop. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

1 to 10 except 5 and 6 with while

Write a Python program to print 1 to 10 except 5 and 6 using a while loop. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Product of the first 10 numbers

Write a Python program to find the product of the first 10 natural numbers. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Sum of the first 10 numbers with while

Write a Python program to find the sum of the first 10 natural numbers using a while loop. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Table of 2 with a while loop

Write a Python program to print the table of 2 using a while loop. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

First 20 natural numbers with while

Write a Python program to print the first 20 natural numbers using a while loop. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Print keys and values

Write a Python program to print the keys and values of a dictionary. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Print the values of a dictionary

Write a Python program to print the values of a dictionary, capitalised. 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.