Aayan Python Program
Aayan Python Program
import datetime
print("My School Store")
print("customer bill")
print("Date:", datetime.date.today())
total_cost=0
for i in range(1,100):
print("what is your name?")
name=input()
item_name=input("enter the item name:")
if (item_name=="done" or item_name=="Done" or item_name=="DONE"):
break
item_quantity=float(input("enter the item quantity "))
item_price=float(input("enter the item price per unit"))
item_cost=item_quantity*item_price
print("Cost of ",item_quantity," unit of",item_name,"is",item_price,"which has
a total cost of Rs",item_cost)
print("Cost of ",item_quantity," unit of",item_name,"@
Rs.",item_price,"is",item_cost)
total_cost=total_cost+item_cost