Python-Quizzes | Data Type | Question 3
Which of the following function convert a string to a float in python?
(A) int(x [,base])
(B) long(x [,base] )
Explanation: float(x) − Converts x to a floating-point number
Quiz of this Question
Please comment below if you find anything wrong in the above post