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 articles

298 articles · page 24 of 25 · Clear filters
Python

Python File Handling

Learn Python file handling: open files with with, file modes, read, readline and readlines, write and append, work line by line, encodings and binary files.

9 min readRead →
Python

Python Lambda Function

Explore the world of Python lambda functions, empowering you to create efficient code without the need for named functions.

4 min readRead →
Python

Python Built In Functions

Discover the power of Python built in functions. Unleash the efficiency of pre-built functionalities that Python offers to streamline your code.

6 min readRead →
Python

Python List vs Tuple

Python list vs tuple compared: mutability, syntax, methods, memory, speed, hashability and real use cases, with runnable examples you can edit.

4 min readRead →
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 →

Preparing for a QA interview?

Take free timed mock tests with answers and explanations.