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.2.2 Worksheet Python Answers

Answer KeySection 1: Listsscores = [85, 92, 78, 95, 88]print(scores[2])scores[0] = 100; print(scores)for score in scores: print(score)total = 0 for score in scores: total += score print(total)total = 0 for score in scores: total += score print(total / len(scores))highest = scores[0] for score in scores: if score > highest: highest = score print(highest)lowest = scores[0] for score in scores: if score < lowest: lowest...

Help