Coffee Shops

November 16, 2018

Programming Language: Python

Level: Basic

Objective: Text Format and display

Task1: London Coffee Shops

TimeOut London published list of London's best cafés and coffee shops. Some of them included are: The Attendant, Curators Coffee Studio, Department of Coffee & Social Affairs, FreeState Coffee, Look Mum No Hands, Rapha CC, Workshop Coffee Co and Timberyard Seven Dials.

Create a file and write a program that display the names of these places in a layout as shown in the sample run below, with heading: List of some “London Coffee Shops”

An example runs of the program:


 List of some "London Coffee Shops"       

     * The Attendant       

     * Curators Coffee Studio       

     * Department of Coffee & Social Affairs       

     * FreeState Coffee       

     * Look Mum No Hands       

     * Rapha CC       

     * Workshop Coffee Co       

     * Timberyard Seven Dials




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


print(" List of some \"London Coffee Shops\"\

\n\t* The Attendant\

\n\t* Curators Coffee Studio\

\n\t* Department of Coffee & Social Affairs\

\n\t* FreeState Coffee\

\n\t* Look Mum No Hands\

\n\t* Rapha CC\

\n\t* Workshop Coffee Co\

\n\t* Timberyard Seven Dials" );

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.

Dyslexia support pack for language learners

Information for students, parents & tutors which can help students to understand that their dyslexia is not a barrier