Question: answer = input ( Enter an integer: ) Assume that the user types 1 2 3 . What data type does the variable

answer = input("Enter an integer: ")
Assume that the user types 123.
What data type does the variable answer have?
float
undefined
text
number
integer
str
 answer = input("Enter an integer: ") Assume that the user types

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!