Python Exercise:
please provide screen shoot of the code:
1. Write a function to print a 'cashier receipt' output for a
shop( any shop). It should accept 3 items, then sum them up and
print out a detailed receipt with TOTAL.
For example :
Input:
item_1_name="Trainers'
item_1_price=50
item_2_name="T-shirt'
item_2_price=20
item_3_name="Dress'
item_3_price=50
Output:
Trainers 50
T-shirt 20
Dress 50
total 120
Python Exercise: please provide screen shoot of the code: 1. Write a function to print a 'cashier receipt' output for a
-
- Posts: 43759
- Joined: Sat Aug 07, 2021 7:38 am