Question
Please code in Python 3. Challenge: variable length records Variable Length Record Load the pipe-delimited file P. It is organized with 3 fields on each
Please code in Python 3.
Challenge: variable length records
Variable Length Record
Load the pipe-delimited file P. It is organized with 3 fields on each line: firstname|lastname|birthday.
Search for the firstname F and lastname L, replacing the birthday with B. Write the file back out in the same pipe-delimited format.
Check It!
LAST RUN on 2/28/2018 1:00:31 PM
Program Output
Your program output did not match the expected output. Your output: Adam|Smith|11111985 Theodore|Anderson|20031990 Adam K|Smith|09091999 Monty|Biscuit-Barrel|18101980 Adam|Smithers|10101960 Ruthy|Anderson|06062010 Expected output: Adam|Smith|11111985 Theodore|Anderson|20031990 Adam K|Smith|09091999 Monty|Biscuit-Barrel|18101980 Adam|Smithers|00000000 Ruthy|Anderson|06062010
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started