suppose you have a variable defined a = \4\. what is the variable type of a?\nfloat\nint\nnumber\nstr

suppose you have a variable defined a = \4\. what is the variable type of a?\nfloat\nint\nnumber\nstr

suppose you have a variable defined a = \4\. what is the variable type of a?\nfloat\nint\nnumber\nstr

Answer

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.

Answer:

D. str