Advertisements
Advertisements
प्रश्न
Give the output of the following when num1 = 4, num2 = 3, num3 = 2.
num1 = int('3.14')
print (num1)
टिप्पणी लिखिए
उत्तर
num1 = int('3.14')
This will result in an error as we cannot pass the string representation of float to an int function.
shaalaa.com
Debugging
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?