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 80 of 159
Python

Python Functions

Learn Python functions: define with def, parameters and arguments, return values, default and keyword arguments, *args and **kwargs, and docstrings.

8 min readRead →
Python

Python Dictionaries

Learn Python dictionaries: create, access with get(), add, update and delete keys, loop over items, nested dicts, merging, and the most useful dict methods.

7 min readRead →
Python

Python Sets

Learn Python sets: create sets, remove duplicates, add and remove items, union, intersection, difference, subset checks and frozenset, with runnable examples.

6 min readRead →
Python

Python Tuple

Explore the versatility of Python tuples. Dive into the world of immutable data structures and discover how tuples can streamline your code.

13 min readRead →
Python

Python Lists

Learn Python lists with runnable examples: create, index, slice, add, remove, sort and copy lists, then practise with 100 list programs and solutions.

8 min readRead →
Python

Python Strings & Methods

Learn Python strings: create, index and slice them, use common string methods like split, join, replace, strip and find, and understand immutability.

8 min readRead →
Python

Python Loops: for & while

Learn Python for and while loops: range(), looping over lists, strings and dicts, break, continue, else on loops, nested loops and common loop patterns.

7 min readRead →
Python

Python Data Types

Learn Python's built-in data types: numbers, strings, booleans, None, lists, tuples, sets and dictionaries, mutable vs immutable, and how to check a type.

6 min readRead →
Python

Python If…Else

Learn Python if, elif and else statements, nested conditions, the one-line conditional expression, and how to combine conditions with and, or and not.

6 min readRead →
Python

Python Variables

Learn Python variables: create and reassign them, naming rules, multiple assignment, swapping values, constants and how names refer to objects.

7 min readRead →
Python practice

Median of a list

Write a Python program to get the median of all the elements of a list. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python

Python Introduction

What is Python? Learn its history, key features, what Python is used for and how the interpreter runs your code, with runnable examples and a quiz.

6 min readRead →

Preparing for a QA interview?

Take free timed mock tests with answers and explanations.