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