practicepython.in
python exercises
starting python
Traceback (most recent call last):
  File "basket.py", line 16, in <module>
    print(basket_total(["£4.50", "£1.20", "3.99"]))
          ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "basket.py", line 12, in basket_total
    total += parse_price(text)
TypeError: unsupported operand type(s) for +=: 'float' and 'NoneType'
your_code.py