sartajs12082002 sartajs12082002
  • 04-06-2021
  • Computers and Technology
contestada

write a python program to calculate the average of two numbers​

Respuesta :

chidichurri
chidichurri chidichurri
  • 04-06-2021

Answer:

n1 = int(input("Please enter a number<:"))

n2= int(input("Please enter a number<:"))

sum = n1 + n2

print("The average of the two numbers is", sum / 2)

Answer Link

Otras preguntas

Joel made some muffins. He gave 1\4 of the muffins to a neighbor.He took 3\8 of the muffins to school.What fraction of muffins is left?
Atoms are NOT composed of which of the following? a.protons b.neutrons c.electrons d.xenons
what is 1/4 of a turn
Anglo-Saxon England was conquered in 1066 by __________. Charlemagne Attila the Hun Charles Martel Duke William of Normandy
The area of a rectangle is 32 in² and its length is 4 inches a) Find the width b) Find the perimeter
A scientist uses artificial selection to produce a new type of cow. Compared to their parents, the new cows are
The word which means to cut into two parts is _____.
What is the opposite of grew?
How did Nelson Mandela expand his anti-government activities in the 1960s? He created a division dedicated to sabotage. He ran for president of South Africa..
Which factor made it more difficult for new immigrants to be assimilated into American society? (A) New immigrants largely favored socialism. (B) New immigrants