NIELIT O Level Exam

Which of the following functions converts a string to a float in python ?

Which of the following functions converts a string to a float in python ?

निम्नलिखित में से कौन सा फ़ंक्शन पायथन में एक स्ट्रिंग को फ्लोट में परिवर्तित करता है?

A. int(x [,base])

B. long(x [,base])

C. float(x)

D. str(x)




Correct Answer is :

C. float(x)



Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad