Explore Westonci.ca, the top Q&A platform where your questions are answered by professionals and enthusiasts alike. Our platform connects you with professionals ready to provide precise answers to all your questions in various areas of expertise. Experience the convenience of finding accurate answers to your questions from knowledgeable experts on our platform.

Select the data type for each example below.
Possible answers
-Int
-float
-string


Select The Data Type For Each Example Below Possible Answers Int Float String class=

Sagot :

Answer:

2.5 = float

'2.5' = str

3 = int

Explanation:

The data type: "float" is used for positive or negative decimals.

The data type: "str" is used for a sequence of letters, numbers, or symbols. Since the decimal used apostrophes, this means it's a character literal.

The data type: "int" is used for any positive or negative whole number.

Answer:

float

string

int

Explanation:

just took the test