74.2k views
3 votes
Question #3

Dropdown
What type of data is the result of each of the following lines of code?

str(2.34)
O float
O this causes an error
O int
O string

int('2')
O float
O this causes an error
O int
O string

float(2)
O float
O this causes an error
O int
O string

1 Answer

3 votes

Answer:

string, int, float

Step-by-step explanation:

just took it. have a good one!

User Albruno
by
4.5k points