Report Bug

QusWhich of the following functions converts a string to a float in python ? Qusनिम्नलिखित में से कौन सा फ़ंक्शन पायथन में एक स्ट्रिंग को फ्लोट में परिवर्तित करता है?


A. int(x [,base])
B. long(x [,base])
C. float(x)
D. str(x)


Solution
C. float(x)



CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad