[ Read the following questions carefully and choose the right answer. ]

Which of the following function convert a string to a float in python ? 

A int(x.[.base])

B float(x)

C long(x [.base])

D str(x)

Solution

Correct Answer: Option B

Practice More Questions on Our App!

Download our app for free and access thousands of MCQ questions with detailed solutions