class Checkout:

    def __init__(self):
        self.prices = {}
        self.total = 0

    def addItemPrice(self, item, price):
        self.prices[item] = price

    def addItem(self, item):
        self.total += self.prices[item]

    def calculateTotal(self):
        return self.total

e47123361cee08fc31daf195082652f3f347c78e
class Checkout:

    def __init__(self):
        self.prices = {}
        self.total = 0
    <mask token>
    <mask token>
    <mask token>

class Checkout:

    def __init__(self):
        self.prices = {}
        self.total = 0
    <mask token>

    def addItem(self, item):
        self.total += self.prices[item]
    <mask token>

class Checkout:

    def __init__(self):
        self.prices = {}
        self.total = 0

    def addItemPrice(self, item, price):
        self.prices[item] = price

    def addItem(self, item):
        self.total += self.prices[item]
    <mask token>

class Checkout:

    def __init__(self):
        self.prices = {}
        self.total = 0

    def addItemPrice(self, item, price):
        self.prices[item] = price

    def addItem(self, item):
        self.total += self.prices[item]

    def calculateTotal(self):
        return self.total
