Ask Question
18 February, 12:51

What kind of datatype is being input for Number1, Number2, Number3?

Number1=input ("Enter Number1 = ")

Number2=input ("Enter Number2 = ")

Number3=input ("Enter Number3 = ")

Total=Number1+Number2+Number3 print ("Number1 is equal to ", Number1) print ("Number2 is equal to ", Number2) print ("Number3 is equal to ", Number3) print ("The sum is ", Total) avg = Total/3 print ("The Average is = ", avg)

+5
Answers (1)
  1. 18 February, 13:18
    0
    Answer: integer

    Explanation:

    Its python code.

    The datatype for number1, number2 and number3 it will be integer and even the output will be integer.

    the programmer will decide whether to convert integer to float or not.

    The program want a user to inputting a value number1, number2 and number3, then the interpreter will add the numbers and get the total and then the average will be total of numbers / 3.

    so it will print number1, number3, number3, the sum and average.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What kind of datatype is being input for Number1, Number2, Number3? Number1=input ("Enter Number1 = ") Number2=input ("Enter Number2 = ") ...” in 📗 Engineering if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers