A company recorded the monthly sales data (in thousands) for a year. The sales data for...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
A company recorded the monthly sales data (in thousands) for a year. The sales data for each month is as follows: [30, 45, 60, 55, 70, 65, 80, 75, 90, 85, 100, 95]. Calculate the average monthly sales for the year. Exercise 2: A company is analyzing its quarterly expenses. The expenses for each quarter (in thousands) are stored in a list: [120, 150, 110, 140]. Calculate the total expenses for the year. Exercise 3: A store maintains a dictionary where keys represent product names and values represent their prices. Calculate the total value of all products in the store. apple price is $1.2, banana price is $0.8, orange price is $1.0, grapes price is $2.5. Exercise 4: A company has sales data stored in a dictionary. Calculate the average monthly sales based on the sales data. "January": 30000, "February": 45000, "March": 60000, "April": 55000, "May": 70000, "June": 65000, "July": 80000, "August": 75000, 3:11 Search 2 of 2 ardcdn.com "September": 90000, "October": 85000, "November": 100000, "December": 95000 214 Exercise 5: A company stores sales data as a string where each sale is separated by a semicolon. Convert the sales data string into a list of individual sales. Example: "30000;45000;60000;55000;70000" Exercise 6: A company records quarterly profits. Store the quarterly profits in a tuple and find the maximum profit. Example: (120000, 150000, 110000, 140000) Exercise 7: a) Define the variable 'a' as a list (4, 3, 10, -20). Print the list. b) Sort variable 'a' in increasing order. c) Create the list 'b' with numbers from 10 to 45 using range(). d) Create the variable 'c', which is the reverse of 'b' (from 45 to 10). e) Create the list 'd' with numbers from 10 to 45 by 5 using range(). Exercise 8: a) Determine the class of 'b' from the previous exercise? Convert 'b' into a character. b) Can you spot the difference: Which of these are character strings and which are numbers? 1, "1", "one". c) Create a list 'Mixed' containing the following mixed elements (4, "e", 5,"h") and find out its class. G 22 22 A company recorded the monthly sales data (in thousands) for a year. The sales data for each month is as follows: [30, 45, 60, 55, 70, 65, 80, 75, 90, 85, 100, 95]. Calculate the average monthly sales for the year. Exercise 2: A company is analyzing its quarterly expenses. The expenses for each quarter (in thousands) are stored in a list: [120, 150, 110, 140]. Calculate the total expenses for the year. Exercise 3: A store maintains a dictionary where keys represent product names and values represent their prices. Calculate the total value of all products in the store. apple price is $1.2, banana price is $0.8, orange price is $1.0, grapes price is $2.5. Exercise 4: A company has sales data stored in a dictionary. Calculate the average monthly sales based on the sales data. "January": 30000, "February": 45000, "March": 60000, "April": 55000, "May": 70000, "June": 65000, "July": 80000, "August": 75000, 3:11 Search 2 of 2 ardcdn.com "September": 90000, "October": 85000, "November": 100000, "December": 95000 214 Exercise 5: A company stores sales data as a string where each sale is separated by a semicolon. Convert the sales data string into a list of individual sales. Example: "30000;45000;60000;55000;70000" Exercise 6: A company records quarterly profits. Store the quarterly profits in a tuple and find the maximum profit. Example: (120000, 150000, 110000, 140000) Exercise 7: a) Define the variable 'a' as a list (4, 3, 10, -20). Print the list. b) Sort variable 'a' in increasing order. c) Create the list 'b' with numbers from 10 to 45 using range(). d) Create the variable 'c', which is the reverse of 'b' (from 45 to 10). e) Create the list 'd' with numbers from 10 to 45 by 5 using range(). Exercise 8: a) Determine the class of 'b' from the previous exercise? Convert 'b' into a character. b) Can you spot the difference: Which of these are character strings and which are numbers? 1, "1", "one". c) Create a list 'Mixed' containing the following mixed elements (4, "e", 5,"h") and find out its class. G 22 22
Expert Answer:
Related Book For
Complete Business Statistics
ISBN: 9780077239695
7th Edition
Authors: Amir Aczel, Jayavel Sounderpandian
Posted Date:
Students also viewed these algorithms questions
-
This assignment requires you to complete the 2022 tax reporting for a fictional woman named Anna Smith. Question 1 T1 - step 4 - line 66 This is Anna's taxable income Answer: Question 2 T1 - step...
-
Use the information provided in the table below to answer the given questions Selling Price Variable Cost Fixed Cost Expected sales a) b) c) R25 15% of selling price R120 000 25000 units. Calculate...
-
If one movie ticket costs $13.50, how much will y tickets cost?
-
Find a Dodge-Romig single sampling plan if the lot size is 900, LQL = 5% nonconforming, and the process average is 0.8% nonconforming. What is the AOQL for the plan? Interpret it.
-
This chapter is based on the insight that todays organizations in many national and societal contexts face the challenge of managing an increasingly diverse workforce. This increase in workforce...
-
In a job costing system, which of the following statements about materials is not correct? a. A materials requisition is used to request materials needed from the storeroom. b. Materials used during...
-
Assume that the number of miles a particular brand of tire lasts before it needs to be replaced follows a normal distribution with a mean of 45,600 miles and a standard deviation of 5,800 miles. a....
-
Magic Mountain retires its 9% bonds for $128,000 before their scheduled maturity. At the time, the bonds have a face value of 126,000 and a carrying value of $117,000. Record the early retirement of...
-
Beijing has become the first city to host the Summer Games (in 2008) and Winter Games (in 2022). China has invested nearly $4 billion to host the Games (Forbes, 2022). Winter Olympics is a huge...
-
BEAM047-Exam Paper_BEAM047R-AUG22 (1).pdf - Adobe Acrobat Reader DC (64-bit) File Edit View Sign Window Help Home Tools 26C Sunny BEAM047-Exam_Pa... x 2 / 4 125% wwww The possible returns of stocks...
-
James and Helena are 43 years old both and have three children. They have an annual household income of 85,000 and they have mortgage. With their current financial situation, what type of life...
-
What are the political and economic risks of the United States?
-
A project requires an initial investment of $2,000,000 and produces an annual inflow of $500,000 at the end of years 1 - 7, and an inflow of $600,000 at the end of year 8. What is the NPV of this...
-
During this phase, the actual design and development of a new product is done. This is also the step where the full business plan is developed and the first initial customer feedback is sought out...
-
Read the "Prescribing Preferred Policies" and give respond to the following: Explain two of the six criteria for policy prescription, (a) effectiveness, (b) efficiency, (c) adequacy, (d) equity, (e)...
-
r = 0.18 Find the coefficients of determination and non-determination and explain the meaning of each.
-
Sumitomo Cable manufactures various types of aluminum and copper cables which it sells directly to retail outlets through its distribution channels. The manufacturing process for producing cables...
-
The Cooper Furniture Company of Potomac, Maryland, assembles two types of chairs (Recliners and Rockers). Separate assembly lines are used for each type of chair. Classify each cost item (AI) as...
-
The following data are for Marvin Department Store. The account balances (in thousands) are for 2017. 1. Compute (a) the cost of goods purchased and (b) the cost of goods sold. 2. Prepare the income...
Study smarter with the SolutionInn App