Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

January.txt file values 21728392 1200.56 19.18,29.15,78.75,212.10 100,20,410.29 Please code in python String & Files Practice Problem Complete the following program: 1. Read in and store

image text in transcribed

January.txt file values

21728392 1200.56 19.18,29.15,78.75,212.10 100,20,410.29

Please code in python

String & Files Practice Problem Complete the following program: 1. Read in and store the data from the file called "January.txt". This file includes the customer's account number, beginning balance, withdrawals, and deposits (in that order). NOTE: Make sure you look at the contents of the file before you begin the project! 2. Prompt the user for his/her name and age. 3. Convert the customer's name to a username that consists of the first letter of the first name, the first 5 digits of last name, and the customer's age. All letters of the username should be lowercase. Example: Michael Jordan, age 37 should convert to: mjorda37 4. Convert the account number to the following format: XXX-XX-XXX 5. Calculate the total of the deposits, the total of the withdrawals, and the ending balance in the account. 6. Write a report similar to the following to both the screen and a file called "JanuaryStatement.txt": Broward College National Bank January Bank Statement Name User Name Account Number Michael Jordan mjorda37 217-28-392 Beginning Balance: Total Withdrawals: Total Deposits: Ending Balance: $1200.56 $339.18 $530.29 $1391.67 %%%3D

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions