subject

Question # 1 Multiple Choice

What will be the output of the following program?

def average(a, b):

total = a + b

return total / 2

ave = average(7,11)

print("Total", total)

print ("Average", ave)

A. an error statement since total's scope is limited to the average function.
B. Total 18
Average 9
C. Total18
Average9
D. an error statement since average is a keyword.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:30
The cm is responsible for overseeing the actions of the crisis management team and coordinating all crisis management efforts in cooperation with disaster recovery and/or business continuity planning, on an as-needed basis
Answers: 1
question
Computers and Technology, 23.06.2019 21:20
In microsoft word, when you highlight existing text you want to replace, you're in              a.  advanced mode.    b.  automatic mode.    c.  basic mode.    d.  typeover mode
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Jamie has to enter the names, employee id’s, and income of a group of employees into a worksheet. which option will jamie use to describe the data
Answers: 3
question
Computers and Technology, 24.06.2019 10:00
Which two technologies support the building of single-page applications?
Answers: 2
You know the right answer?
Question # 1 Multiple Choice

What will be the output of the following program?
Questions
question
Chemistry, 12.01.2022 06:30
question
Mathematics, 12.01.2022 06:30
question
Mathematics, 12.01.2022 06:40
Questions on the website: 13722361