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