Home of real teaching & learning
  • Full support for teachers
  • Focus on critical thinking
  • Engaging classroom activities
  • Integrated student eBook
  • Assessed tasks / qBank
  • Practice exam questions

The InThinking Guarantee: Our sites are written by expert practitioners and not by AI

See our AI policy

Disclaimer: InThinking subject sites are neither endorsed by nor connected with the International Baccalaureate Organisation.

Don't miss out, find out!

B 3.2.1 Worksheet Python

Parent and Child: Consider the following classes: a) Which class is the parent class? b) Which class is the child class? c) What attribute does Smartphone inherit from Device? d) What method does Smartphone inherit from Device? e) Explain the purpose of super().__init__(model) in the Smartphone class.

Help