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