subject

Read the following code, written to calculate an average: def main():
num1 = 83
num2 = 75
num3 = 99
average = num1 + num2 + num3 / 3
print("Average: + str(average))
main()
How can the average calculation be corrected in order to return the correct output? (5 points)

A) Change the division symbol to the multiplication symbol

B) Place parentheses around the variables to indicate the order of operation

C) Place quotation marks around the variable names in order to make a string literal

D) Use the numeric values instead of variable names

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:00
What computer network component allows data transfers from one computer to another through a telephone line?
Answers: 1
question
Computers and Technology, 22.06.2019 05:00
Pls do you believe that the use of 3d animation has grown in feature films over the last few years? if so, do you think the trend will continue? what are the forces driving this trend?
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
You have read about the beginnings of the internet and how it was created. what was the internet originally created to do? (select all that apply) share research. play games. communicate. share documents. sell toys
Answers: 1
question
Computers and Technology, 24.06.2019 17:30
Match the following. 1. formatting that is applied when cell data meets certain criteria 2. borders with formats not found on the border tool 3. a shortcut bar that contains tools for commonly used formats 4. formats that can be applied to numbers conditional formatting custom borders format bar number formats
Answers: 3
You know the right answer?
Read the following code, written to calculate an average: def main():
num1 = 83
num2 =...
Questions
question
Mathematics, 20.10.2019 18:50
question
Social Studies, 20.10.2019 18:50
question
Physics, 20.10.2019 18:50
question
Mathematics, 20.10.2019 18:50
question
Social Studies, 20.10.2019 18:50
Questions on the website: 13722360