Instructions
Write a Node.js or Python script to process CSV content according to this specification.
Input CSV Structure
The file contains four data columns. Not all columns have data, not all columns are complete.
Id, Address, Lat, Lng
Task Description
Process the CSV content to extract the Canadian postal code from the input address field. Input rows not containing a postal code in the address field are not included in the output. Read from standard input and write to standard output.
Output CSV Structure
Id, Address, Postal Code, Lat, Lng
Submission
Submit your solution as an email attachment. The attached file must be named address.txt
.