Hello,
I'm having trouble with the same type of question I ask for help last week. The instructor isn't any help, and I hope you can help me figure this out. After you read the question they expect us to figure out the solution to the code. There are no examples that help to solve this question, and I have no idea where to start.
Write a single statement that assigns avg_sales with the average of num_sales1, num_sales2, and num_sales3.
Sample output with inputs: 3 4 8
Average sales: 5.00
avg_sales = 0
2.
num_sales1 = int(input())
num_sales2 = int(input())
num_sales3 = int(input())
6.
''' Your solution goes here '''
8.
print('Average sales: {:.2f}'.format(avg_sales))
When you have a minute can you help me figure this out, please?
Thank you,
Theodore Rahm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Welcome to party! Glad to see you here! And never be afraid of asking what you don't know yet. We all have been there.
I'm willing to help if you want on anything :)
Hello,
I'm having trouble with the same type of question I ask for help last week. The instructor isn't any help, and I hope you can help me figure this out. After you read the question they expect us to figure out the solution to the code. There are no examples that help to solve this question, and I have no idea where to start.
Write a single statement that assigns avg_sales with the average of num_sales1, num_sales2, and num_sales3.
Sample output with inputs: 3 4 8
Average sales: 5.00
When you have a minute can you help me figure this out, please?
Thank you,
Theodore Rahm