Examveda

What is the result of float("3.14") ?

A. 3.0

B. "3.14"

C. 3.14

D. "3"

Answer: Option C

Solution (By Examveda Team)

The float() function converts a string containing a number to a floating-point number.

This Question Belongs to Python Program >> Data Types And Numeric Types

Join The Discussion

Related Questions on Data Types and Numeric Types