fbpx

{igebra.ai} – A Data & AI Research, Development & Education Company

🦃🍁 Thanksgiving Special • 10% OFF on All Courses • 🎁 Offer Ends November 30 • 🍂 Give Thanks, Inspire Learning • Celebrate Thanksgiving with {igebra.ai} 🧡 •

Python Programming Dictionary: 200+ Terms, Keywords and Concepts Explained for Beginners

Your complete A–Z guide to Python programming vocabulary, from basic coding terms to advanced concepts used in AI, automation and software development.

Every new language begins with words. Before we can write sentences, we learn what individual words mean and how they work together.

Programming is no different.

When you begin learning Python, you encounter unfamiliar words such as variable, function, loop, argument, syntax, and algorithm. You may understand what a piece of code does without knowing the technical terms used to describe it.

And that’s perfectly normal.

Python is one of the most widely used programming languages in the world. It powers everything from simple calculators and games to websites, data analysis tools, automation systems and artificial intelligence applications.

But learning Python isn’t just about writing code. It’s about developing the ability to understand instructions, recognise patterns, solve problems and think logically.

That’s where understanding programming terminology becomes important.

This Python Programming Dictionary explains more than 200 essential terms, keywords, functions and concepts in simple language, with practical examples wherever useful.

Whether you’re a student learning Python for the first time, a parent helping your child understand coding, or a beginner exploring programming, this guide will help you build a stronger foundation.

What Is Python Programming?

Python is a high-level, general-purpose programming language used to give instructions to computers.

It was created by Guido van Rossum and first released in 1991. Today, Python is widely used in education, web development, scientific computing, automation, data science and artificial intelligence.

One reason Python is popular among beginners is its readable syntax.

For example, displaying a message in Python requires just one line:

print("Hello, World!")

This tells the computer to display the message Hello, World!

You don’t need to understand complicated symbols or lengthy instructions to get started.

However, as you begin writing more advanced programs, understanding Python’s terminology becomes essential.

How to Use This Python Dictionary

This guide is organised alphabetically, from A to Z.

Each entry explains a programming term, Python keyword, function or concept. Some include code examples to demonstrate how they work.

Not every word in this dictionary is a reserved Python keyword. Some are built-in functions, programming concepts, tools, libraries or technical terms commonly used by Python developers.

You can read the guide from beginning to end or jump directly to the term you want to understand.

A — Python Programming Terms

1. Algorithm

An algorithm is a step-by-step set of instructions designed to solve a problem or complete a task.

Real-life example: Following a recipe to bake a cake is an algorithm. Each instruction must be performed in a logical order.

In programming, algorithms help computers solve problems such as sorting numbers, searching for information or recommending videos.

2. Argument

An argument is a value passed to a function when the function is called.

print("Hello, Python!")

Here, "Hello, Python!" is the argument passed to print().

3. Arithmetic Operators

Arithmetic operators perform mathematical calculations.

Operator

Meaning

Example

+

Addition

5 + 3

-

Subtraction

5 - 3

*

Multiplication

5 * 3

/

Division

5 / 2

//

Floor division

5 // 2

%

Modulus (remainder)

5 % 2

**

Exponentiation

5 ** 2

4. Assignment

Assignment is the process of associating a value with a variable name.

age = 12

The variable age now refers to the value 12.

5. Assignment Operator

The equal sign (=) is used to assign a value to a variable.

It is different from ==, which checks whether two values are equal.

6. API (Application Programming Interface)

An API allows different software applications to communicate with one another.

For example, a Python application can use a weather API to retrieve current weather information.

7. Append

append() is a list method that adds an item to the end of a list.

fruits = ["Apple", "Banana"]
fruits.append("Mango")

print(fruits)

Output: ['Apple', 'Banana', 'Mango']

8. Attribute

An attribute is a value or characteristic associated with an object.

class Student:
school = "Python Academy"

print(Student.school)

Here, school is a class attribute.

9. Assertion

An assertion checks whether a condition is true. If the condition is false, Python raises an AssertionError.

score = 90
assert score >= 0

Assertions are commonly used during development and testing.

10. Asynchronous Programming

Asynchronous programming allows a program to manage tasks without unnecessarily waiting for one operation to finish before progressing with others.

Python supports asynchronous programming through tools such as async, await and asyncio.

B — Python Programming Terms

11. Binary

Binary is a number system that uses only two digits: 0 and 1.

Computers represent information using binary digits, also called bits.

12. Bit

A bit is the smallest unit of digital information. It represents either 0 or 1.

13. Block

A block is a group of statements that belong together.

Python uses indentation to identify blocks.

if True: print("This is inside a block") print("This is also inside the block")

14. Boolean

A Boolean is a data type with two possible values:

  • True

  • False

is_student = True

Booleans are essential for decision-making in programs.

15. Boolean Expression

A Boolean expression evaluates to either True or False.

10 > 5

Result: True

16. Break

break is a Python keyword that immediately exits the nearest enclosing loop.

for number in range(10): if number == 5: break print(number)

The loop prints numbers from 0 to 4.

17. Bug

A bug is an error or defect in a program that causes incorrect or unexpected behaviour.

18. Built-in Function

A built-in function is available in Python without importing an additional module.

Examples include print(), len(), input(), sum() and type().

19. Byte

A byte is a unit of digital information typically consisting of eight bits.

20. Bytecode

Bytecode is an intermediate representation of Python code used by Python implementations such as CPython.

C — Python Programming Terms

21. Cache

A cache stores information temporarily so it can be accessed more quickly later.

22. Call

Calling a function means instructing Python to execute it.

print("Welcome!")

This calls the print() function.

23. Class

A class is a blueprint for creating objects.

class Student: def __init__(self, name): self.name = name

24. Code

Code is a collection of instructions written in a programming language.

25. Comment

A comment explains code to people reading it. Python ignores comments during normal execution.

# This program calculates a total total = 10 + 20

26. Comparison Operator

Comparison operators compare values and produce Boolean results.

Operator

Meaning

==

Equal to

!=

Not equal to

>

Greater than

<

Less than

>=

Greater than or equal to

<=

Less than or equal to

27. Compiler

A compiler translates source code into another form.

Python implementations such as CPython compile source code into bytecode before executing it.

28. Conditional Statement

A conditional statement allows a program to make decisions based on conditions.

age = 15 if age >= 18: print("Adult") else: print("Minor")

29. Constant

A constant is a value intended to remain unchanged.

Python commonly uses uppercase variable names to indicate constants.

PI = 3.14159

Python does not automatically prevent ordinary variables named this way from being reassigned.

30. Constructor

A constructor is part of the process of creating an object.

In Python, __init__() is commonly used to initialise an object’s attributes.

31. Continue

continue skips the remaining statements in the current loop iteration and moves to the next iteration.

32. Control Flow

Control flow describes the order in which a program executes instructions.

Conditions, loops, function calls and exceptions can change that order.

33. Counter

A counter is a variable used to track how many times something happens.

count = 0 count += 1

34. CSV (Comma-Separated Values)

CSV is a text-based format for storing tabular data.

Python provides a built-in csv module for reading and writing CSV files.

D — Python Programming Terms

35. Data

Data is information that a computer stores, processes or analyses.

36. Database

A database is an organised collection of information.

Python applications can interact with databases such as SQLite, PostgreSQL and MySQL.

37. Data Structure

A data structure organises information so it can be stored, accessed and modified efficiently.

Common Python data structures include lists, tuples, sets and dictionaries.

38. Data Type

A data type determines what kind of value an object represents and which operations it supports.

Examples include:

  • int — Integer

  • float — Decimal-style number

  • str — String

  • bool — Boolean

  • list — List

  • tuple — Tuple

  • dict — Dictionary

  • set — Set

39. Debugging

Debugging is the process of identifying, understanding and correcting errors in a program.

40. Decorator

A decorator modifies or extends the behaviour of a function or class.

Decorators commonly use the @ symbol.

41. Def

def is a Python keyword used to define a function.

def greet(): print("Hello!")

42. Dependency

A dependency is a software package or component that another program requires.

43. Dictionary

A dictionary stores information as key-value pairs.

student = { "name": "Alex", "age": 13, "grade": 7 }

You can retrieve information using its key:

print(student["name"])

Output: Alex

44. Docstring

A docstring is a string literal used to document a function, class or module.

def greet(): """Display a greeting message.""" print("Hello!")

45. Dynamic Typing

Python uses dynamic typing, meaning variable names are not permanently restricted to one data type.

value = 10 value = "Python"

E — Python Programming Terms

46. Elif

elif means “else if”. It checks an additional condition when earlier conditions are false.

47. Else

else provides an alternative block of code when preceding conditions are not satisfied.

48. Element

An element is an individual item within a collection, such as a list.

49. Encapsulation

Encapsulation is an object-oriented programming concept that groups data and related behaviour together.

50. Escape Character

An escape character helps represent special characters inside strings.

print("Hello\nWorld")

\n creates a new line.

51. Exception

An exception is an event that interrupts normal program execution.

Examples include ValueError, TypeError and ZeroDivisionError.

52. Execute

To execute a program means to run its instructions.

53. Expression

An expression is a combination of values, variables, operators or function calls that produces a value.

5 + 3 * 2

This expression evaluates to 11.

F — Python Programming Terms

54. False

False is one of Python’s two Boolean values.

55. File

A file stores information that can be read or modified by a program.

56. File Handling

File handling involves creating, opening, reading, writing and closing files.

with open("notes.txt", "w") as file:
file.write("Learning Python")

57. Finally

finally introduces a block that executes when control leaves a try statement, including after handled exceptions.

58. Float

A float represents a floating-point number.

price = 19.99

Floating-point numbers have limited precision, so some decimal values cannot be represented exactly.

59. For Loop

A for loop iterates over items in a sequence or another iterable.

for number in range(3):
print(number)

Output:

0
1
2

60. Framework

A framework provides reusable components and conventions for developing applications.

Examples of Python web frameworks include Django and Flask.

61. From

from is a Python keyword used when importing specific names from a module.

from math import sqrt

62. Function

A function is a reusable block of code designed to perform a particular task.

def greet(name):
print("Hello", name)

greet(“Alex”)

63. Function Call

A function call executes a function using its name and parentheses.

64. Function Parameter

A parameter is a name defined in a function’s signature that receives a value when the function is called.

G — Python Programming Terms

65. Garbage Collection

Garbage collection helps reclaim memory occupied by objects that are no longer needed.

66. Generator

A generator produces values one at a time, often using yield.

Generators can help process large amounts of data without storing every result simultaneously.

67. Git

Git is a version control system used to track changes in code.

68. GitHub

GitHub is an online platform for hosting Git repositories and collaborating on software projects.

69. Global Variable

A global variable is defined at module level and can be accessed by functions in that module.

70. GUI (Graphical User Interface)

A GUI allows people to interact with software through visual elements such as windows, menus and buttons.

Python can create GUIs using libraries such as Tkinter.

H — Python Programming Terms

71. Hash

A hash is a value calculated from data using a hashing algorithm.

Hash values help Python implement data structures such as dictionaries and sets.

72. Hashable

A hashable object has a hash value that remains stable during its lifetime and supports equality comparison consistently.

Hashable objects can be used as dictionary keys.

73. High-Level Language

A high-level programming language uses abstractions that make programs easier for humans to read and write.

Python is a high-level language.

74. HTTP

HTTP stands for Hypertext Transfer Protocol.

It is used to transfer information between web clients and servers.

75. HTTPS

HTTPS is the secure version of HTTP, protecting data transmitted between clients and servers through encryption.

I — Python Programming Terms

76. IDE (Integrated Development Environment)

An IDE is software that helps programmers write, run, test and debug code.

Examples include PyCharm and Visual Studio Code with Python extensions.

77. If

if is a keyword used to execute code when a condition is true.

78. Immutable

An immutable object cannot be changed after creation.

Examples include integers, strings and tuples.

79. Import

import allows Python programs to access modules.

import math

print(math.sqrt(25))

Output: 5.0

80. Indentation

Indentation refers to spaces at the beginning of a line.

Python uses indentation to define code blocks.

Incorrect indentation can cause an IndentationError.

81. Index

An index identifies an item’s position in a sequence.

Python uses zero-based indexing.

colors = ["Red", "Blue", "Green"]
print(colors[0])

Output: Red

82. Infinite Loop

An infinite loop continues indefinitely unless interrupted or stopped by another mechanism.

83. Inheritance

Inheritance allows a class to derive behaviour and attributes from another class.

84. Input

input() is a built-in function that receives text entered by a user.

name = input("What is your name? ")

85. Instance

An instance is an individual object created from a class.

86. Integer

An integer is a whole number, including negative numbers and zero.

score = 100

87. Interpreter

An interpreter is software that executes program instructions.

CPython, the standard Python implementation, executes compiled Python bytecode using a virtual machine.

88. Iteration

Iteration means repeating a process or visiting items one after another.

89. Iterator

An iterator is an object that returns successive items when requested.

90. Iterable

An iterable is an object that can provide an iterator.

Lists, strings, tuples and dictionaries are examples.

J — Python Programming Terms

91. JSON (JavaScript Object Notation)

JSON is a widely used format for storing and exchanging structured data.

import json student = {"name": "Alex", "age": 13} print(json.dumps(student))

92. Jupyter Notebook

Jupyter Notebook is an interactive environment that allows users to combine code, explanations and visualisations.

It is widely used in data science and education.

K — Python Programming Terms

93. Key

A key identifies a value in a dictionary.

student = {"name": "Alex"}

Here, "name" is the key.

94. Key-Value Pair

A key-value pair associates an identifier with its corresponding value.

Example: "age": 13

95. Keyword

A keyword is a reserved word with a special meaning in Python’s syntax.

Examples include if, else, for, while, def and return.

96. Keyword Argument

A keyword argument passes a value to a function using a parameter name.

print("Python", end="!")

Here, end="!" is a keyword argument.

L — Python Programming Terms

97. Lambda

lambda creates a small anonymous function.

square = lambda x: x * x print(square(5))

Output: 25

98. Library

A library is a collection of reusable code that helps developers perform tasks.

Popular Python libraries include NumPy, pandas and Matplotlib.

99. Len

len() returns the number of items in an object.

print(len("Python"))

Output: 6

100. List

A list is an ordered, mutable collection of items.

fruits = ["Apple", "Mango", "Banana"]

101. List Comprehension

A list comprehension provides a concise way to create lists.

squares = [x * x for x in range(5)]

Result: [0, 1, 4, 9, 16]

102. Local Variable

A local variable is defined within a function and normally exists only in that function’s local scope.

103. Logical Operator

Logical operators combine or modify conditions.

Python uses:

  • and

  • or

  • not

104. Loop

A loop repeats a block of instructions.

Python commonly uses for and while loops.

M — Python Programming Terms

105. Machine Learning

Machine learning is a field of artificial intelligence in which systems learn patterns from data to make predictions or decisions.

Python is widely used for machine learning.

106. Matplotlib

Matplotlib is a Python library used to create charts, graphs and visualisations.

107. Memory

Memory is where a computer stores information needed by running programs.

108. Method

A method is a function associated with an object or class.

message = "hello" print(message.upper())

Output: HELLO

109. Module

A module is a Python file or other importable unit containing reusable code.

110. Mutable

A mutable object can be modified after creation.

Lists, dictionaries and sets are mutable.

111. Multiple Assignment

Multiple assignment allows several variables to receive values in one statement.

a, b, c = 10, 20, 30

112. Multithreading

Multithreading allows a program to manage multiple threads of execution.

It is useful for certain concurrent tasks, especially operations involving waiting for input or output.

N — Python Programming Terms

113. NameError

A NameError occurs when Python cannot find a referenced name.

print(unknown_variable)

114. Nested Dictionary

A nested dictionary is a dictionary containing another dictionary.

student = { "name": "Alex", "marks": { "math": 95, "science": 90 } }

115. Nested List

A nested list is a list containing another list.

numbers = [[1, 2], [3, 4]]

116. Nested Loop

A nested loop is a loop placed inside another loop.

117. None

None represents the absence of a value.

118. NumPy

NumPy is a Python library for numerical computing and working with multidimensional arrays.

O — Python Programming Terms

119. Object

An object is a value that combines data with a type and supported behaviour.

120. Object-Oriented Programming (OOP)

Object-oriented programming organises software using objects and classes.

Important OOP concepts include encapsulation, inheritance, polymorphism and abstraction.

121. Open

open() opens a file and returns a file object.

122. Operand

An operand is a value on which an operator acts.

In 5 + 3, the numbers 5 and 3 are operands.

123. Operator

An operator is a symbol or keyword used to perform an operation.

124. Output

Output is information produced by a program.

125. Overriding

Method overriding occurs when a subclass provides its own implementation of a method inherited from a parent class.

P — Python Programming Terms

126. Package

A package organises related Python modules.

127. Pandas

pandas is a Python library used for working with structured data, including tables and time-series information.

128. Parameter

A parameter is a variable name declared in a function definition.

def greet(name): print("Hello", name)

Here, name is the parameter.

129. Parse

Parsing means analysing information according to a defined structure or grammar.

130. Pass

pass is a statement that does nothing.

It is useful as a placeholder when Python requires a statement.

def future_function(): pass

131. Pattern Recognition

Pattern recognition is the process of identifying similarities, regularities or repeated structures in information.

It is an important computational thinking skill.

132. PEP (Python Enhancement Proposal)

A PEP is a document proposing or describing improvements, standards or processes related to Python.

PEP 8 provides Python code style guidance.

133. Pip

pip is a package installer commonly used to install Python packages.

Example terminal command:

python -m pip install requests

134. Polymorphism

Polymorphism allows different objects to respond to the same operation in ways appropriate to their types.

135. Print

print() displays information.

print("I am learning Python!")

136. Problem Solving

Problem solving involves understanding a challenge, developing a solution and evaluating whether it works.

137. Program

A program is a set of instructions that a computer can execute.

138. Programming Language

A programming language provides rules and structures for expressing instructions that computers can process.

139. PyPI (Python Package Index)

PyPI is the main public repository for distributing Python software packages.

140. Python

Python is a general-purpose programming language known for its readable syntax and broad range of applications.

Q — Python Programming Terms

141. Queue

A queue is a data structure commonly following the First-In, First-Out (FIFO) principle.

Think of people standing in a line: the first person to join is usually the first to be served.

142. Query

A query is a request for information from a data source, such as a database or API.

143. Quotation Marks

Quotation marks are used to create string literals in Python.

name = "Alex"
message = 'Hello'

R — Python Programming Terms

144. Raise

raise is a Python keyword used to trigger an exception.

raise ValueError("Invalid value")

145. Random

The random module provides tools for generating pseudorandom numbers and making random selections.

import random print(random.randint(1, 10))

146. Range

range() produces a range object representing a sequence of integers.

for number in range(1, 4): print(number)

147. Read

Reading a file means retrieving information stored inside it.

148. Recursion

Recursion occurs when a function calls itself.

def countdown(n): if n == 0: return print(n) countdown(n - 1)

149. Reassignment

Reassignment means associating a new value with an existing variable name.

score = 50 score = 75

150. Regular Expression

A regular expression is a pattern used to search, match or manipulate text.

Python provides the re module for regular expressions.

151. Repository

A repository is a location where a project’s files and version history are stored.

152. Reserved Word

A reserved word is a word that cannot be used as an ordinary identifier because it has a special role in Python’s syntax.

153. Return

return sends a result back from a function and ends that function’s execution.

def add(a, b): return a + b

154. Runtime

Runtime refers to the period when a program is executing.

155. Runtime Error

A runtime error occurs while a program is running.

S — Python Programming Terms

156. Scope

Scope determines where a name can be accessed in a program.

157. Script

A script is a program, often stored in a .py file, that performs a set of tasks.

158. Set

A set is an unordered collection of distinct hashable elements.

numbers = {1, 2, 2, 3} print(numbers)

The set contains only the unique values 1, 2 and 3.

159. Slice

Slicing extracts a portion of a sequence.

word = "Python" print(word[0:3])

Output: Pyt

160. Sorting

Sorting arranges items according to an order, such as ascending or descending.

161. Source Code

Source code is the human-readable text of a computer program.

162. Stack

A stack is a data structure commonly following the Last-In, First-Out (LIFO) principle.

163. Statement

A statement is an instruction that Python can execute.

164. String

A string is a sequence of Unicode characters used to represent text.

language = "Python"

165. String Concatenation

String concatenation joins strings together.

first = "Hello" second = "World" print(first + " " + second)

Output: Hello World

166. Syntax

Syntax refers to the rules that determine how valid Python code must be written.

167. SyntaxError

A SyntaxError occurs when Python encounters code that violates its syntax rules.

168. Self

self is the conventional name for the first parameter of an instance method.

It refers to the instance on which the method is called.

169. Serialization

Serialization converts data or objects into a format suitable for storage or transmission.

170. Subclass

A subclass is a class that inherits from another class.

T — Python Programming Terms

171. Terminal

A terminal provides a text-based interface for entering commands.

172. Thread

A thread is a unit of execution within a process.

173. Time Complexity

Time complexity describes how an algorithm’s computational work grows as the input size increases.

174. True

True is one of Python’s two Boolean values.

175. Try

try introduces code that may raise an exception.

try:
number = int("abc")
except ValueError:
print("Please enter a valid number")

176. Tuple

A tuple is an ordered, immutable sequence.

coordinates = (10, 20)

177. Type

type() returns an object’s type.

print(type(10))

Output: <class 'int'>

178. Type Conversion

Type conversion changes a value from one data type to another.

age = int("15")

179. TypeError

A TypeError occurs when an operation receives an object of an inappropriate type.

180. Type Hint

A type hint provides information about the expected types of variables, parameters or return values.

def add(a: int, b: int) -> int:
return a + b

Python does not enforce these annotations automatically.

U — Python Programming Terms

181. Unicode

Unicode is a standard for representing characters from many languages and writing systems.

182. Unit Testing

Unit testing checks individual parts of a program to confirm that they behave as expected.

183. Unpacking

Unpacking assigns elements from a collection to individual variables.

a, b = [10, 20]

184. Update

update() is a method available on dictionaries and sets.

For dictionaries, it adds or replaces key-value pairs.

185. User Input

User input is information entered by someone interacting with a program.

V — Python Programming Terms

186. Value

A value is a piece of data represented in a program.

Examples include 10, "Python" and True.

187. ValueError

A ValueError occurs when a function receives an argument of the correct general type but an inappropriate value.

int("hello")

This raises a ValueError.

188. Variable

A variable is a name that refers to a value or object.

student_name = "Alex" student_age = 13

189. Virtual Environment

A virtual environment is an isolated Python environment used to manage project-specific packages.

190. Version Control

Version control tracks changes to files over time, making collaboration and recovery easier.

191. VS Code

Visual Studio Code is a code editor that supports Python development through extensions.

W — Python Programming Terms

192. Web Scraping

Web scraping is the process of extracting information from websites using software.

Python libraries such as Beautiful Soup can help analyse HTML content.

193. While Loop

A while loop repeats instructions while a condition remains true.

count = 1 while count <= 3: print(count) count += 1

Output:

1 2 3

194. Whitespace

Whitespace includes spaces, tabs and line breaks.

Whitespace is particularly important in Python because indentation defines code blocks.

195. With

with is a keyword used with context managers to handle setup and cleanup operations.

It is commonly used when working with files.

196. Write

Writing means saving information to a file or another destination.

X — Python Programming Terms

197. XML (Extensible Markup Language)

XML is a markup format used to represent structured information.

Python includes modules for processing XML.

198. XOR (Exclusive OR)

XOR is a logical operation that is true when its two Boolean inputs differ.

In Python, the ^ operator performs bitwise XOR on integers and can also be used with Boolean values.

Y — Python Programming Terms

199. Yield

yield is used in generator functions to produce values while preserving the function’s state between iterations.

def numbers(): yield 1 yield 2 yield 3

200. YAML

YAML is a human-readable data serialisation format commonly used for configuration files.

Python can work with YAML using third-party packages such as PyYAML.

Z — Python Programming Terms

201. Zero-Based Indexing

Zero-based indexing means that the first item in a sequence has index 0.

animals = ["Cat", "Dog", "Bird"] print(animals[0])

Output: Cat

202. ZeroDivisionError

A ZeroDivisionError occurs when a program attempts to divide a number by zero.

10 / 0

203. Zip

zip() combines elements from multiple iterables into tuples.

names = ["Alex", "Sam"] scores = [90, 85] print(list(zip(names, scores)))

Output:

[('Alex', 90), ('Sam', 85)]

Python Keywords: The Essential Reference List

Now that we’ve explored the vocabulary of Python programming, it’s important to understand the difference between general programming terms and Python keywords.

Python keywords are words with special meaning in the language. Most cannot be used as variable names, function names or other ordinary identifiers.

The following table covers Python’s hard keywords in modern Python 3.

KeywordPurpose
FalseBoolean false value
NoneRepresents no value
TrueBoolean true value
andLogical AND
asAssigns a name in certain statements
assertChecks an assertion
asyncDefines asynchronous functions or operations
awaitWaits for an awaitable operation
breakExits a loop
classDefines a class
continueSkips to the next loop iteration
defDefines a function
delDeletes a name or item reference
elifAdds another condition
elseProvides an alternative branch
exceptHandles an exception
finallyDefines cleanup logic
forCreates a for loop
fromImports selected names
globalDeclares a name as global
ifChecks a condition
importImports a module
inChecks membership or supports iteration
isChecks object identity
lambdaCreates an anonymous function
nonlocalRefers to a name in an enclosing function scope
notLogical NOT
orLogical OR
passPlaceholder statement
raiseRaises an exception
returnReturns from a function
tryStarts exception-handling logic
whileCreates a while loop
withUses a context manager
yieldProduces a generator value

Python also has soft keywords, including match, case, _ and type, which have special meanings only in particular syntactic contexts.

You can inspect the keyword lists supported by your installed Python version:

import keyword

print(keyword.kwlist)
print(keyword.softkwlist)

Common Python Built-in Functions Every Beginner Should Know

Unlike keywords, built-in functions perform useful operations and can be called directly in Python.

FunctionWhat it doesExample
print()Displays informationprint("Hello")
input()Receives user inputinput("Name: ")
len()Returns lengthlen("Python")
type()Returns an object’s typetype(10)
int()Converts to integerint("10")
float()Converts to floating-point numberfloat("3.5")
str()Converts to stringstr(100)
bool()Converts to Booleanbool(1)
range()Creates a rangerange(5)
sum()Adds valuessum([1, 2, 3])
max()Finds the largest valuemax([4, 8, 2])
min()Finds the smallest valuemin([4, 8, 2])
abs()Returns absolute valueabs(-5)
round()Rounds a numberround(3.14159, 2)
sorted()Returns sorted itemssorted([3, 1, 2])
enumerate()Pairs items with indexesenumerate(["a", "b"])
zip()Combines iterableszip([1, 2], ["a", "b"])
open()Opens a fileopen("data.txt")
isinstance()Checks an object’s typeisinstance(5, int)
help()Displays documentationhelp(print)

Beginner tip: Don’t try to memorise every function. Start with print(), input(), len(), int() and range(). You’ll encounter the others naturally as you build projects.

Understanding Python Data Types

One of the first things every Python beginner should learn is how Python represents different kinds of information.

Imagine creating a simple program that stores information about a student.

student_name = "Alex"
student_age = 13
student_score = 95.5
is_enrolled = True

Although these values are stored using similar-looking statements, they represent different types of data.

Data typePython nameExampleDescription
Integerint13Whole numbers
Floatfloat95.5Floating-point numbers
Stringstr"Alex"Text
BooleanboolTrueTrue or false
Listlist[1, 2, 3]Ordered, changeable collection
Tupletuple(1, 2, 3)Ordered, immutable collection
Dictionarydict{"age": 13}Key-value pairs
Setset{1, 2, 3}Collection of unique elements
NoneTypeNoneTypeNoneAbsence of a value

Understanding data types helps you decide how to store information and which operations are possible.

For example, you can add two integers mathematically, but adding two strings joins their text.

print(10 + 20)
print("10" + "20")

Output:

30
1020

The same + symbol produces different results depending on the data types involved.

5 Python Concepts Beginners Often Confuse

Some programming terms sound similar but describe different ideas.

Understanding these distinctions can prevent common mistakes.

1. Variable vs Value

A variable is a name used to refer to information.

A value is the actual information.

age = 13

Here, age is the variable name, while 13 is the value.

2. Parameter vs Argument

A parameter is defined when creating a function.

An argument is supplied when calling that function.

def greet(name):
    print("Hello", name)

greet("Alex")

name is the parameter.

"Alex" is the argument.

3. List vs Tuple

Both lists and tuples store ordered collections.

The key difference is mutability.

fruits = ["Apple", "Mango"]
coordinates = (10, 20)

You can modify the list, but you cannot modify the tuple’s elements directly.

4. Assignment (=) vs Comparison (==)

The assignment operator stores a value under a name.

The equality operator compares two values.

score = 100
print(score == 100)

Output: True

5. Syntax Error vs Logical Error

A syntax error occurs when code violates Python’s language rules.

A logical error occurs when code runs but produces an incorrect result.

For example:

length = 5
width = 3

area = length + width

The program runs successfully, but the formula is incorrect if we want to calculate the area of a rectangle.

The correct formula is:

area = length * width

Learning to recognise these differences is an important part of becoming a confident programmer.

How Python Programming Connects to Artificial Intelligence

Python isn’t limited to writing simple programs or solving mathematical problems.

It is also widely used in artificial intelligence, machine learning, automation and data science.

As students progress from basic Python concepts to advanced applications, they encounter additional terminology.

Here are ten important terms worth understanding.

TermMeaning
Artificial Intelligence (AI)Technology designed to perform tasks associated with human intelligence
Machine Learning (ML)Systems that learn patterns from data
Deep LearningMachine learning using neural networks with multiple layers
Neural NetworkA computational model made of connected processing units
DatasetA collection of information used for analysis or model development
TrainingThe process of adjusting a model using data
PredictionAn output generated by a model based on learned patterns
Natural Language Processing (NLP)Technology for processing and analysing human language
Computer VisionTechnology for interpreting images and video
AutomationUsing software to perform tasks with reduced manual effort

For example, imagine a student wants to build a program that identifies whether a message contains positive or negative language.

They might begin with basic Python concepts such as strings, variables, conditions and functions.

As their skills develop, they can explore machine learning libraries and natural language processing techniques.

This is why understanding programming fundamentals matters even as AI tools make generating code easier.

AI can help produce code, but understanding the logic behind that code allows you to evaluate, modify and improve what it creates.

How to Learn Python Programming Vocabulary Faster

Memorising hundreds of programming definitions isn’t the most effective way to learn Python.

The better approach is to connect terminology with practical experience.

Here are five ways to make new Python words easier to understand and remember.

1. Learn Concepts in Groups

Instead of learning unrelated words, group terms by topic.

For example, when studying loops, learn for, while, range, break, continue and iteration together.

Understanding how these concepts relate makes them easier to remember.

2. Write Small Programs

Reading about a function is useful.

Writing and executing one helps you understand how it works.

Start with small programs such as a greeting generator, multiplication table or simple calculator.

3. Predict the Output Before Running Code

Before executing a program, try to work out what it will display.

For example:

numbers = [2, 4, 6]
print(numbers[1])

What do you think the output will be?

The answer is 4, because Python list indexes begin at zero.

This exercise develops logical thinking and improves code-reading skills.

4. Practise Debugging

When your code produces an error, read the error message carefully.

Try to identify the problem before looking up the solution.

Over time, words such as SyntaxError, NameError and TypeError will become familiar.

5. Build Projects That Interest You

Programming becomes more meaningful when you apply it to something you enjoy.

A student interested in games might create a number-guessing challenge.

Someone interested in mathematics might build a calculator.

A student curious about artificial intelligence might begin exploring how computers recognise patterns in data.

The goal is not to memorise Python terminology. It’s to understand these concepts well enough to use them.

From Understanding Python Words to Writing Your First Program

Every programmer begins somewhere.

The words that seem unfamiliar today—variables, loops, functions, algorithms and data structures—gradually become the building blocks of everything you create.

And the possibilities extend far beyond the classroom.

Python can be used to develop games, analyse information, automate repetitive tasks, build websites and explore artificial intelligence.

But behind every successful program is the same foundation: understanding the problem, breaking it into smaller steps and translating those steps into logical instructions.

Learning Python isn’t about remembering hundreds of commands.

It’s about learning how to think, solve problems and turn ideas into something that works.

Keep this Python Programming Dictionary bookmarked as a reference throughout your learning journey. Return whenever you encounter an unfamiliar term, experiment with the examples and gradually build your own understanding.

Because the best way to learn the language of programming is to start using it.

Learn Python Coding with {igebra.ai}

At {igebra.ai}, we believe learning to code should go beyond memorising syntax.

Our Coding4Ai programme introduces students in Grades 4–10 to Python programming through live online learning, helping them develop logical thinking, computational skills and problem-solving confidence.

Students learn how programming concepts connect and how to apply them while building a foundation for future learning in AI and technology.

Explore Coding4Ai: https://www.igebra.ai/courses/coding4ai/

Book a Free Demo: https://www.igebra.ai/all-courses-book-a-free-demo

Making Kids Fall in Love with Math, AI & Coding.