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.1.1 Worksheet Python

Create a variable named age and assign your age to it.Create a variable named name and assign your name to it.Print the values of age and name. Create a variable named price and assign a value with decimals (e.g., 19.99) to it.Convert price to an integer and store it in a new variable named integer_price.Print both price and integer_price. Create a global variable named global_count and initialize it to 0.Define a...

Help