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 2.4.1 Worksheet Python

Instructions: Analyse the following Python code snippets or algorithm descriptions. For each, determine the time complexity and space complexity using Big O notation. Briefly explain your reasoning. 1. 2. 3. 4. 5.

Help