Ask Question
14 December, 07:36

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)

+1
Answers (1)
  1. 14 December, 10:39
    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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers