Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

question 19 consider the following code: is_fruit = \true\ is_vegetable…

Question

question 19
consider the following code:
is_fruit = \true\
is_vegetable = 0
is_dessert = false
what is the data - type of is_fruit?
o integer
o boolean
o string

Explanation:

Brief Explanations

The variable is_fruit is enclosed in double - quotes, which in programming indicates it is a string data type, even though its value looks like a boolean - like term.

Answer:

C. string