QUESTION IMAGE
Question
question: 2 what is the type of the variable x in the following python program? x = input(\enter something: \) string integer float the type cannot be determined.
Brief Explanations
In Python, the input() function always returns a string, regardless of what the user enters. So the variable x which stores the result of input() is of string type.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
string