Solved: Write two programs CreateSales.py and AverageSales.py

$30.00

Category:

Description

Solved: Write two programs CreateSales.py and AverageSales.py

Write two programs CreateSales.py and AverageSales.py. The first program (CreateSales.py) generates a sales file called sales.txt, which contains sales data for 12 weeks by 20 sales people. Sample data is given below. You may use random number function to generate floating point numbers between 0 and 200. Each row represents weekly sales by each sales person for 12 weeks. Data in each column represents sales for a particular week by 20 sales people.
The second program (AverageSales.py) computes average sales for each sales person and for each week

 


error: Content is protected !!