Chapters 1 & 2
Lesson Objectives
- understand 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?
~~~Evidence~~~
1. Write a short program that makes use of \n
- print it , stick it in your book and write a note to explain it's purpose
Orange Task
Experiment with some of these other tools, known as 'escape sequences'
~~~Evidence~~~
1. Write a short program that makes use of \t , \\ , and \"
- print it , stick it in your book and write a note to explain their purpose
Green Task
Write a program to produce the following EXACTLY as shown below:
Video Clip - http://youtu.be/UsCQXe1OHZk
Plenary
Write a program to produce the following EXACTLY as shown below:
Video Clip - http://youtu.be/UsCQXe1OHZk
Plenary
Further reading - http://learnpythonthehardway.org/book/ex10.html
No comments:
Post a Comment