Python Functions
Learn Python functions: define with def, parameters and arguments, return values, default and keyword arguments, *args and **kwargs, and docstrings.
Online Learning Platform
Free tutorials, solved practice problems and interview prep for QA and automation engineers: Python, Playwright, Selenium, SQL, Git and more.
Learn Python functions: define with def, parameters and arguments, return values, default and keyword arguments, *args and **kwargs, and docstrings.
Learn Python dictionaries: create, access with get(), add, update and delete keys, loop over items, nested dicts, merging, and the most useful dict methods.
Learn Python sets: create sets, remove duplicates, add and remove items, union, intersection, difference, subset checks and frozenset, with runnable examples.
Explore the versatility of Python tuples. Dive into the world of immutable data structures and discover how tuples can streamline your code.
Learn Python lists with runnable examples: create, index, slice, add, remove, sort and copy lists, then practise with 100 list programs and solutions.
Learn Python strings: create, index and slice them, use common string methods like split, join, replace, strip and find, and understand immutability.
Learn Python for and while loops: range(), looping over lists, strings and dicts, break, continue, else on loops, nested loops and common loop patterns.
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.
Learn Python if, elif and else statements, nested conditions, the one-line conditional expression, and how to combine conditions with and, or and not.
Learn Python variables: create and reassign them, naming rules, multiple assignment, swapping values, constants and how names refer to objects.
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.
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.
Take free timed mock tests with answers and explanations.