-
Notifications
You must be signed in to change notification settings - Fork 0
dvcoolarun/Parse-Text
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The attached file (customerdata.txt) contains transactional data from a fictitious website. Your assignment is to write a program (preferably in Python) to parse this data and generate a report with the following information: 1. How many orders did the site receive? 2. What was the total amount of the orders? 3. List the names of the customers who ordered once and did not order again. 4. Get a distribution of customers who ordered exactly once, exactly twice and so on up to 4 orders and group the rest as 5 orders and above. Orders | Count of customers --------|------------------- 1 | 2 | 3 | 4 | 5+ | * Python script to extract the necassary data from customerdata.txt & write in results.txt * There is no need to install any dependencies for script to run. * You can run the script by command(python3 script.py)
About
Parsing Customer data assignment 🔎
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published