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

Tuples to sublists

Write a Python program to convert the tuples in a list into lists. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Flatten a nested list

Write a Python program to flatten a nested list. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Palindrome strings in a list

Write a Python program to get the palindrome strings from a list. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Percentage from marks

Write a Python program to calculate the percentage from a list of marks out of 100 each. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Bill per fruit purchased

Write a Python program to calculate the bill for each fruit purchased, from a price list and a quantity...

1 min readRead →
Python practice

Insert a sublist at an index

Write a Python program to insert a sublist into a list at a given index. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Remove duplicates with a set

Write a Python program to remove duplicates from a list using a set. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Dictionary from two lists

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

1 min readRead →
Python practice

Remove n elements from the left or right

Write a Python program to remove n elements from the left and from the right of a list. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Prime numbers in a list

Write a Python program to get the prime numbers from a list. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Count vowels in a list of words

Write a Python program to count the vowels in a list of words. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Palindrome numbers in a list

Write a Python program to get the palindrome numbers from a list. 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.