top of page

Fantastic Functions

Starter

Write this funtion into the shell of Python, how can you execute the program?

Activity One

Open the PowerPoint and follow the instructions on using fucntions in python. Be sure to include the definitions in your book.

LEARNING OBJECTIVES 

 

  • Understand how to use and call functions

LEARNING OUTCOMES

 

Good: Create a program to call a function to pull a virtual rabbit from a hat.

 

Better: Create a program that will reverse a given word.

 

Best: Add to the ‘reverse the word’ program such that the user is given feedback stating whether or not the word is a palindrome.

bottom of page