Question: Create a text file that contains your expenses for last month in the following categories: Rent Gas Food Clothing Car
Create a text file that contains your expenses for last month in the following categories:
• Rent
• Gas
• Food
• Clothing
• Car payment
• Misc
Write a Python program that reads the data from the file and uses matplotlib to plot a pie chart showing how you spend your money.
Step by Step Solution
3.50 Rating (150 Votes )
There are 3 Steps involved in it
To write a Python programme that receives spending data from a text file and plots a pie chart with ... View full answer
Get step-by-step solutions from verified subject matter experts
