QUESTION IMAGE
Question
question 1
what is the data type of 5?
int
float
str
bool
question 2
what is the data type of 3.14?
float
int
str
bool
question 3
what is the data type of \hello, world!\?
str
int
list
bool
Question 1
Brief Explanations
In programming, int (integer) represents whole numbers without a decimal point. The number \(5\) is a whole number.
Brief Explanations
float (floating - point number) is used for numbers with a decimal point. The number \(3.14\) has a decimal part.
Brief Explanations
In programming, text enclosed in quotes (like "Hello, World!") is of the str (string) data 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
int