Question: Write a single statement that assigns avg_sales with the average of num_sales1, num_sales2, and num_sales3. Sample output for the given program is: 5.0 NOTE: Our

Write a single statement that assigns avg_sales with the average of num_sales1, num_sales2, and num_sales3. Sample output for the given program is:

5.0

NOTE: Our system will run the following program several times, each time automatically changing the variable values above your code, to make sure you code works for all possible values. You should not focus on how those values change; our system creates multiple programs behind the scenes. Just focus on the code you need to write, independently of those values. See How to Use zyBooks in your library for more info.

num_sales1 = 3 num_sales2 = 4 num_sales3 = 8 avg_sales = 0

''' Your solution goes here '''

print(avg_sales)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!