OverridingThis refers toredefining aparent classmethod in thechild class.Methodclass Dog:def bark(self):print("Woof")— What isbark()?selfThis keywordrefers to thecurrent objectinside aclass.ClassA blueprintforcreatingobjects.ifA keywordused forconditionalstatements.InheritanceThis allows achild class touse themethods andattributes of aparent class.ObjectA specificinstanceof a class.WhileLoopThis loopruns whena conditionis true.EncapsulationThis OOPprinciple hidesinternal detailsand shows onlynecessaryparts.Functiondef greet():print("Hi")greet() —What structureis this?Privatevariablevariable withtwounderscoresis consideredthis.defUsed todefine afunction.Constructorclass A: def__init__(self):print("Hello")— What is__init__()?FunctionA reusableblock ofcode toperform atask.ForLoopThis loopiteratesover asequence.__init__()The methodused toinitializeobjects.OverridingThis refers toredefining aparent classmethod in thechild class.Methodclass Dog:def bark(self):print("Woof")— What isbark()?selfThis keywordrefers to thecurrent objectinside aclass.ClassA blueprintforcreatingobjects.ifA keywordused forconditionalstatements.InheritanceThis allows achild class touse themethods andattributes of aparent class.ObjectA specificinstanceof a class.WhileLoopThis loopruns whena conditionis true.EncapsulationThis OOPprinciple hidesinternal detailsand shows onlynecessaryparts.Functiondef greet():print("Hi")greet() —What structureis this?Privatevariablevariable withtwounderscoresis consideredthis.defUsed todefine afunction.Constructorclass A: def__init__(self):print("Hello")— What is__init__()?FunctionA reusableblock ofcode toperform atask.ForLoopThis loopiteratesover asequence.__init__()The methodused toinitializeobjects.

Python Django Bingo - 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
  1. This refers to redefining a parent class method in the child class.
    Overriding
  2. class Dog: def bark(self): print("Woof") — What is bark()?
    Method
  3. This keyword refers to the current object inside a class.
    self
  4. A blueprint for creating objects.
    Class
  5. A keyword used for conditional statements.
    if
  6. This allows a child class to use the methods and attributes of a parent class.
    Inheritance
  7. A specific instance of a class.
    Object
  8. This loop runs when a condition is true.
    While Loop
  9. This OOP principle hides internal details and shows only necessary parts.
    Encapsulation
  10. def greet(): print("Hi") greet() — What structure is this?
    Function
  11. variable with two underscores is considered this.
    Private variable
  12. Used to define a function.
    def
  13. class A: def __init__(self): print("Hello") — What is __init__()?
    Constructor
  14. A reusable block of code to perform a task.
    Function
  15. This loop iterates over a sequence.
    For Loop
  16. The method used to initialize objects.
    __init__()