try/exceptblock – Forhandlingerrors.return – Exitsa function andoptionallyreturns avalue.range() –E.g.,range(10) togeneratesequences.List creation– E.g.,my_list = [1,2, 3]if – Thebasicconditionalstatement.Logicaloperators –Such asand, or, not.import –Importingmodules,e.g., importmathfor loop –Forexample: fori in range(5):break –Exits aloop early.Arithmeticoperators– Such as+, -, *, /.from ...import ... –E.g., frommath importpiprint("Hello,world!") –The classicoutputcommand.len() – To getthe length ofa list, string,etc.lambda –Anonymousfunctions,e.g., lambdax: x * 2type() – Tocheck thedata type,e.g., type(x)def –Used todefine afunction.Listcomprehension– E.g., [x for xin range(10)]Variableassignment– E.g., x =10while loop –Repeats aslong as acondition istrue.Tuplecreation –E.g.,my_tuple =(1, 2, 3)continue –Skips to thenext iterationof a loop.Set creation– E.g.,my_set ={1, 2, 3}Docstring – Astring literal fordocumentation,e.g.as – Foraliasingmodules,e.g., importnumpy as npelif – Usedfor additionalconditionalchecks.input() –For gettinguser input.Comparisonoperators –Such as ==,!=, <, >.else – Thefallbackbranch forconditionals.Dictionarycreation –E.g., my_dict= {"key":"value"}f-string – Forformattedstrings, e.g.,f"Hello,{name}"try/exceptblock – Forhandlingerrors.return – Exitsa function andoptionallyreturns avalue.range() –E.g.,range(10) togeneratesequences.List creation– E.g.,my_list = [1,2, 3]if – Thebasicconditionalstatement.Logicaloperators –Such asand, or, not.import –Importingmodules,e.g., importmathfor loop –Forexample: fori in range(5):break –Exits aloop early.Arithmeticoperators– Such as+, -, *, /.from ...import ... –E.g., frommath importpiprint("Hello,world!") –The classicoutputcommand.len() – To getthe length ofa list, string,etc.lambda –Anonymousfunctions,e.g., lambdax: x * 2type() – Tocheck thedata type,e.g., type(x)def –Used todefine afunction.Listcomprehension– E.g., [x for xin range(10)]Variableassignment– E.g., x =10while loop –Repeats aslong as acondition istrue.Tuplecreation –E.g.,my_tuple =(1, 2, 3)continue –Skips to thenext iterationof a loop.Set creation– E.g.,my_set ={1, 2, 3}Docstring – Astring literal fordocumentation,e.g.as – Foraliasingmodules,e.g., importnumpy as npelif – Usedfor additionalconditionalchecks.input() –For gettinguser input.Comparisonoperators –Such as ==,!=, <, >.else – Thefallbackbranch forconditionals.Dictionarycreation –E.g., my_dict= {"key":"value"}f-string – Forformattedstrings, e.g.,f"Hello,{name}"

CODE VS ANIMATION - Call List

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