(Print) Use this randomly generated list as your call list when playing the game. There is no need to say the BINGO column name. Place some kind of mark (like an X, a checkmark, a dot, tally mark, etc) on each cell as you announce it, to keep track. You can also cut out each item, place them in a bag and pull words from the bag.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
This loop iterates over a sequence.
For Loop
The method used to initialize objects.
__init__()
A blueprint for creating objects.
Class
A reusable block of code to perform a task.
Function
class A: def __init__(self): print("Hello") — What is __init__()?
Constructor
This allows a child class to use the methods and attributes of a parent class.
Inheritance
def greet(): print("Hi") greet() — What structure is this?
Function
This refers to redefining a parent class method in the child class.
Overriding
This OOP principle hides internal details and shows only necessary parts.
Encapsulation
This keyword refers to the current object inside a class.
self
class Dog: def bark(self): print("Woof") — What is bark()?
Method
Used to define a function.
def
A specific instance of a class.
Object
variable with two underscores is considered this.
Private variable
A keyword used for conditional statements.
if
This loop runs when a condition is true.
While Loop