Question: python Write a program that asks the user to input a client's name and their bill amount and then appends a bill record to a

python
Write a program that asks the user to input a client's name and their bill amount and then appends a bill record to a file named 'invoices.txt'. It should use the current date and a width of 40. Hints: to write a string to a file with a newline at the end use + 1n'. To get the current date as a string you need put from datetime import date at the top of the file and use str(date.today()) where you need the date as a string
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
