QUESTION IMAGE
Question
intro to python
what is the type of the variable x in the following python program?
x = input(\enter something: \)
the type cannot be determined
float
integer
string
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() will be 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
D. string