Python I - Lesson 4: Print & Input Functions

10-Lesson Unit in Beginner Programming with Python

Platform

Year Levels

  • Y5-6 (Guided)

  • Y7-8+

Duration

  • 1 lesson

Resources

Differentiation

Expand the exercise with any variety of variables and input questions, where users enter their own unique answers.

Extension

Challenge ākonga to include more and complex variables, including camel case, as well as with mathematical operations that modify user data from input to output.

Guide learners to move on to the next lessons of the Python I unit.

About Activity

This is the fourth installment of a 10-lesson unit plan for beginner programming with the Python computer programming language.

Learners will revisit the print function, this time in combination with the input function, where users are prompted to enter their own data contributing to unique outputs. They will learn how to use the input function to ask for ‘string’ and ‘integer’ type data, then will be challenged to expand their programming to include mathematical operations and ‘float’ type data.

Activity Guide

Guide Document