Python program

Description

Write a Python program that prints a check.

Don't use plagiarized sources. Get Your Custom Assignment on
Python program
From as Little as $13/Page

Input from the keyboard the following: the date, the payee, the amount, memo line, and signature.
Assume proper input. Output to the screen a picture of the check seen in format shown in the sample
run below. Convert the dollar amounts from their numeric form into their English equivalent, as would
be seen on a check using the following guidelines:
• Numbers with no decimal should be assumed to have 0 cents.
• There will be no more than 2 numbers after the decimal point.
• Capitalize each English word except the word “and”.
• All amounts will be in the range [0,1000000].
• Use the singular for Dollar and Cent when appropriate.
Finally, the program should ask if the user wants to run the program again (Check case). Refer to the
sample output below.
Sample Run:
Enter Date (MM/DD/YYYY): 02/28/24
Enter Payee: Internal Revenue Service
Enter Amount: 630.00
Enter Memo: For Taxes
Enter Signature: Prof C.
+——————————————————————————+
| |
| Date: 02/28/24 || |
| Pay to the |
| Order of: Internal Revenue Service $ 630.00 |
| |
| Six Hundred Thirty Dollars and 0 Cents |
| |
| Memo: For Taxes Prof C. |
| |
+——————————————————————————+
Run Again (Y/N): y
Enter Date (MM/DD/YYYY): 12/05/24
Enter Payee: Santa Claus
Enter Amount: 1234.56
Enter Memo: Toys
Enter Signature: The Elf
+——————————————————————————+
| |
| Date: 12/05/24 |
| |
| Pay to the |
| Order of: Santa Claus $ 1234.56 |
| |
| One Thousand Two Hundred Thirty Four Dollars and 56 Cents |
| |
| Memo: Toys The Elf |
| |
+——————————————————————————+
Run Again (Y/N): N
Name the program: PrintCheckXX.py where XX are your initials.