# A simulated cash register that tracks
# the item count and the total amount due.
class CashRegister :
# Adds an item to this cash register.
def addItem(self, price) :
# Code would appear here
# Gets the total price of all items in the current sale.
def getTotal(self) :
# Code would appear here
# Gets the number of items in the current sale.
def getCount(self) :
# Code would appear here
# Clears the item count and the total.
def clear(self) :
# Code would appear here