Advertisements
Advertisements
प्रश्न
Give the output of the following when num1 = 4, num2 = 3, num3 = 2.
num1 = float(10)
print (num1)
टीपा लिहा
Advertisements
उत्तर
num1 = float(10)
float(10) will convert the integer value to float value and therefore, the output will be 10.0.
shaalaa.com
Python Variables
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
