(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.
lambda – Anonymous functions, e.g., lambda x: x * 2
for loop – For example: for i in range(5):
if – The basic conditional statement.
continue – Skips to the next iteration of a loop.
print("Hello, world!") – The classic output command.
Tuple creation – E.g., my_tuple = (1, 2, 3)
return – Exits a function and optionally returns a value.
from ... import ... – E.g., from math import pi
as – For aliasing modules, e.g., import numpy as np
def – Used to define a function.
Arithmetic operators – Such as +, -, *, /.
Docstring – A string literal for documentation, e.g.
f-string – For formatted strings, e.g., f"Hello, {name}"