Question: using for loops, while loops and string functions in python : 2. any number of Fries, Burgers, or Soda. The program should ask for items
using for loops, while loops and string functions in python :

2. any number of Fries, Burgers, or Soda. The program should ask for items until they say "done". The user can enter Burger, to add one burger, the user can also type '# Burgers' (You can assume one or none digits prefacing the item type). Your input should allow for any letter case...Burgers cost $2.00, Fries cost $1.25, and Sodas cost $1.00. When complete your program should display the users entire order formatted such that it appears as below with padding (Hint: this type of padding needs to use a different string function, not the formatting Specification - Write a program that asks the user for an order. They can order Order an item (type 'donwhen complete): Burger Order an item (type 'do when complete) 1 Fry Order an item (type 'done'when complete): 3 fries Order an item (type 'don'when complete) 2 burgers Order an item (type 'done'when complete) soda Order an item (type 'done'when complete): 8 fries Order an item (type 'done' when complete) done Your Order: (1) Sodas Total $ 22.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
