QUESTION IMAGE
Question
suppose you have a variable defined a = \4\. what is the variable type of a?
float
int
number
str
Brief Explanations
In programming, when a value is enclosed in double - quotes (" "), it is a string. Here, the variable a is assigned the value "4" which is a text representation of the number 4, not a numerical value. So it 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
D. str