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, 23.06.2019 21:00
Which set of steps will organize the data to only show foods with more than 100 calories and rank their sugar content from greatest to least?
Answers: 1
question
Computers and Technology, 24.06.2019 22:30
The a great imaginary circle, or reference line, around earth that is equally distant from the two poles and divides earth into the northern and southern hemispheres.
Answers: 1
question
Computers and Technology, 25.06.2019 05:00
Which of the following statements best deceive the relationship between carrying capacity and population size
Answers: 1
question
Computers and Technology, 25.06.2019 09:00
What do students buy when they pay tuition? o a place to live at a school o the right to attend classes at a school o transportation expenses to attend classes o textbooks
Answers: 2
You know the right answer?
Read the following code, written to calculate an average: def main():
num1 = 83
num2 =...
Questions
question
Mathematics, 17.11.2020 18:20
question
Spanish, 17.11.2020 18:20
question
Mathematics, 17.11.2020 18:20
question
Arts, 17.11.2020 18:20
question
Mathematics, 17.11.2020 18:20
Questions on the website: 13722362