Q50
What is the result of float("3.14") ?
A.
3.0
B.
"3.14"
C.
3.14
AnswerD.
"3"
Answer: Option C
Solution
Answer: Option C
Solution:
The float() function converts a string containing a number to a floating-point number.