python question Implement the following: Given: food1 = 'Salad' food2 = 'Sandwich' price1=3.6 price2=4.99 Print two f-string statements to display the following according to the rules below: 1) Food...


python question


Implement the following:
Given:
food1 = 'Salad'
food2 = 'Sandwich'
price1=3.6
price2=4.99


Print twof-string statements to display the following according to the rules below:
1) Food prefixed with 'Lunch:'
2) Price prefixed with 'Cost: $'
3) Food always has25 characters of space.
4) Price is always displayed withtwo decimal places.



Just make sure to precisely match the outputformat below.
Write your code in theANSWER area provided below (must includecomments if using code is not covered in the course).







Example Output

Lunch: Salad                     Cost: $3.60
Lunch: Sandwich              Cost: $4.99



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here