How to

Report a typo

Below is the list of operations you want to perform. Which functions should you use for each of these cases?

Pay attention to the quotation marks!

Match the items from left and right columns
"3" -> 3
"3.0" -> 3.0
3 -> "3"
3 -> 3.0
3.0 -> 3
3.0 -> "3.0"
"3.0" -> 3
str(3)
str(3.0)
int(3.0)
int(float("3.0"))
int("3")
float("3.0")
float(3)
___

Create a free account to access the full topic