Films Adaptations

November 21, 2018

Programming Language: Python

Level: Basic

Objective: Text Format and display

Python version used : Python 3.4.3 (can be used for any 3.x.x subversions)

Task Name : Film Adaptations

Look at some of the great books turned in to great movies:

•Life of PI by Yann Martel, Paperback, £6.29

•The Lord of the Rings by J.R.R. Tolkien, Paperback,£18.74

•To Kill A Mockingbird by Harper Le, Hardcover, £12.91

•The Girl with the Dragon Tattoo by Stieg Larsson, Kindle Edition, £4.99

•Lord of the Flies by William Golding, Paperback, £5.99

Write a program that displays the names of these books in following layout with heading: Great Books turned in to Great Films.

An example runs of the program:

Great Books turned in to Great Films

Life of PI

   Yann Martel



The Lord of the Rings

    J.R.R. Tolkien



To Kill A Mockingbird

    Harper Lee



The Girl with the Dragon Tattoo

    Stieg Larsson

    Kindle Edition


Lord of the Flies

    William Golding




Use the built-in print() function, and use the
escape characters \n, \t

\n use it for a new line

\t use it for a tab space
print("Great Books turned in to Great Films\n\
        \nLife of PI\n\tYann Martel \n\tPaperback\n\t£6.29\n\
        \ nThe Lord of the Rings\n\tJ.R.R. Tolkien\n\tPaperback\n\t£18.74\n\
        \nTo Kill A Mockingbird\n\tHarper Lee\n\tHardcover\n\t£12.91\n\
        \nThe Girl with the Dragon Tattoo\n\tStieg Larsson\n\tKindle Edition\n\t£4.99\n\
        \ nLord of the Flies\n\tWilliam Golding\n\tPaperback\n\t£5.99")

Resources others found helpful

Taking the PEE... The Point, Evidence, Explanation method

How to cover all bases and give structure to your paragraphs when answering questions on a set piece of text.

Maths Challenge Key Stage 1

Some challenging problems for KS1, this mixed review has a little bit of everything, mainly as word problems.