Ask Question
30 July, 21:21

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)

+2
Answers (1)
  1. 30 July, 23:44
    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 you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers