You are on page 1of 1

Python Homework 2

Name: Class:

Task 1: Look at the following code and correct three errors in it.

Task 2: Complete the crossword using the clues on the right.

ACROSS

2 This data type holds non-numeric data


such as words or phrases.

4 This records a value that may change


for instance age, name, total etc.

DOWN

1 A set of instructions that enable the


computer hardware to perform a task.

3 This is where the program runs. This is


sometimes called the terminal or
prompt.

Extension Activity: Create a program using Python which will ask the user to enter a month and then
it will show you how many days are in that month. Make sure the input and output is user friendly.
Save your program with a suitable name and email it to your teacher.

Lesson 2 © Nichola Wilkin 2012

You might also like