(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
17
18
19
20
21
22
23
24
25
26
27
28
29
30
len() – To get the length of a list, string, etc.
Tuple creation – E.g., my_tuple = (1, 2, 3)
lambda – Anonymous functions, e.g., lambda x: x * 2
range() – E.g., range(10) to generate sequences.
return – Exits a function and optionally returns a value.
Variable assignment – E.g., x = 10
input() – For getting user input.
break – Exits a loop early.
as – For aliasing modules, e.g., import numpy as np
for loop – For example: for i in range(5):
try/except block – For handling errors.
Set creation – E.g., my_set = {1, 2, 3}
while loop – Repeats as long as a condition is true.
from ... import ... – E.g., from math import pi
continue – Skips to the next iteration of a loop.
else – The fallback branch for conditionals.
import – Importing modules, e.g., import math
print("Hello, world!") – The classic output command.
type() – To check the data type, e.g., type(x)
List creation – E.g., my_list = [1, 2, 3]
if – The basic conditional statement.
Comparison operators – Such as ==, !=, <, >.
elif – Used for additional conditional checks.
f-string – For formatted strings, e.g., f"Hello, {name}"
Docstring – A string literal for documentation, e.g.