Variable Conversion Flashcards

1
Q

Convert int to string

A

int( )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Convert float to string

A

float( )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Convert bool to string

A

bool( )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Convert str to string

A

str( )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

input(‘Europe floor?’) Input always gives you back what?

A

Input always gives you back a string.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly