QUESTION IMAGE
Question
intro to python
what type is the following variable?
x=\hi there\
float
boolean
integer
string
Brief Explanations
In Python, when a variable is assigned text enclosed in quotes like "Hi there", it is of string type. Float is for decimal - numbers, boolean is for True/False values, and integer is for whole numbers without decimals.
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