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

Python practice articles

1,137 articles · page 36 of 95 · Clear filters
Python practice

Slice a tuple

Write a Python program to slice a tuple. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Remove an item from a tuple

Write a Python program to remove an item from a tuple. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

List to tuple, doubled

Write a Python program to convert a list into a tuple with each element multiplied by 2. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Multiply adjacent elements

Write a Python program to multiply each pair of neighbouring elements of a tuple. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Python Projects For Beginners

Python Projects for beginners has list of 100 projects those are categories in three different sections, Beginners, Intermediate and Advance projects.

2 min readRead →
Python practice

Tuple of squares from a list

Write a Python program to create a tuple of the squares of a list's elements. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Sum of a tuple

Write a Python program to find the sum of the elements of a tuple. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Add a list’s items to a tuple

Write a Python program to add the items of a list to a tuple. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Is an element in a tuple?

Write a Python program to check whether an element exists in a tuple. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Tuple of characters to a string

Write a Python program to join a tuple of characters into a string. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Add an item to a tuple

Write a Python program to add an item to a tuple. 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.