Typecasting in Python

Which of the following Python2 pieces of code given below give(s) error?

\(\)1.

1
a = int ('4.0')

2.

1
b = float ('-9')

3.

1
c = str (12)

×

Problem Loading...

Note Loading...

Set Loading...