Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: cp1252 -*-
- # Date Created: 21/04/2015
- # Author: Kyle Minto
- # Food Order
- print("**************************************");
- print("Place an order for food - All items £1");
- print("**************************************\n");
- questions = ["cheese burgers", "french fries", "portions of pizza", "pepsi"];
- total = 0;
- for i in range(0, len(questions)):
- a = input("How many " + questions[i] + " would you like?: ");
- total += a;
- print("\nYour order comes to £" + str(total));
Advertisement
Add Comment
Please, Sign In to add comment