3
def __init__(self, n: int, discount: int, products: List[int], prices: List[int]):6
self.discount = discount10
for i in range(len(products)):11
self.price[products[i]] = prices[i]13
def getBill(self, product: List[int], amount: List[int]) -> float:19
for i in range(len(product)):20
bill += amount[i] * self.price[product[i]]22
if self.customer == self.n:23
bill = bill * (1 - self.discount / 100)29
# Your Cashier object will be instantiated and called as such:30
# obj = Cashier(n, discount, products, prices)31
# param_1 = obj.getBill(product,amount)