Python Strings and Numbers

This lesson teaches pupils about data types (casting) and manipulating strings (text) in Python. It is suitable for KS3 computing and GCSE 9-1 computer science pupils.

It includes an attractive dyslexia friendly PowerPoint presentation that includes differentiated lesson objectives, a video to teach key skills and lots ofpractical programming practice. It also includes a comprehensive teacher’s lesson plan including all the answers.

Please note: This lesson does assume the pupils are familiar with using basic if and else statements in Python as well as using a for loop.

Duration: 1 lesson

This lesson teaches pupils about:

  • Casting
  • Integer (int)
  • Floating-point numbers (float)
  • Strings
  • Concatenation
  • Length
  • Isolating part of a string
  • Changing case (lower, upper and title)

Learn To Teach Python Programming With Confidence
Nichola Lacey (author of the very popular book “Python by Example: Learning to Program in 150 challenges” available from Amazon) is running some training courses at various locations around the UK, to help teachers learn how to teach Python programming confidently. Not only does it teach you how to program in Python but it also gives you a range of tools you can use to teach it effectively in your classroom and includes lots of practical advice and activities you can use straight away with your classes. Book your space today at

Save for later
  • KS3-Python-SoW.pdf
  • Terms-of-Use.pdf

About this resource


Created: Jul 4, 2019

Updated: Jan 3, 2020

Whole lesson

zip, 118 MB



pdf, 192 KB



pdf, 52 KB


Report a problem

Get this resource as part of a bundle and save up to 20%

Tes Paid Licence

How can I re-use this?