# The card processor only takes whole cents. This basket - a $2.50 notebook, a
# $1.25 pen, a $0.75 eraser and a 10c bag - is $4.60, so this should print 460.
# It runs without a single error. It prints 459. Fix total_cents.
def total_cents(prices):
total = 0.0
for price in prices:
total += price
return int(total * 100)
print(total_cents([2.50, 1.25, 0.75, 0.10]))