Search for question
Question

Receipt Cleanup

Download this starter file: ReceiptCleanup.py.

Complete the function removePrices(). Note that the program will not run as is because the function is incomplete. The purpose of the function is to

the prices ($50, $20, $..) from the receipt whenever they appear. It should return the full sentence without any prices. The expected output is (or as close

as possible):

"Book, Shoes, Pencils, Hoodie, Socks"

Fig: 1