Chapters 1 & 2
Lesson Objectives
- understand how to print in Python
- demonstrate how to change the layout of text on screen
Starter
Identifying Errors
Main
In Python there are lots of ways you can manipulate the layout of text on the screen.
Red Task
What do you think \n does?
1. Write a short program eg. a joke that makes use of \n
- place it on your Blog
Amber Task
Experiment with some of these other tools, known as 'escape sequences'
Green Task
Write a program to produce the following EXACTLY as shown below and place a snipping of it on your Blog:
Video Clip - http://youtu.be/UsCQXe1OHZk
Plenary
Write a program to produce the following EXACTLY as shown below and place a snipping of it on your Blog:
Video Clip - http://youtu.be/UsCQXe1OHZk
Plenary
Further reading - http://learnpythonthehardway.org/book/ex10.html
No comments:
Post a Comment