Write a program that prompts the user to enter the sales (float) for a specific number of days (int) based on the user's
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Write a program that prompts the user to enter the sales (float) for a specific number of days (int) based on the user's
Write a program that prompts the user to enter the sales (float)for a specific number of days (int) based on the user's input. Addeach day's sales to a list. After the user has inputted the salesfor the specific number of days, display the following informationrelated to the sales data using the list functions described in thetextbook (eg. min, max, sum): minimum sales maximum sales totalsales average sales Make sure that all output is formatted asfixed-point numbers with 2 decimal places using f-strings.