Informatics Practices
Related Questions
Give the output of the following when num1 = 4, num2 = 3, num3 = 2.
num1 = float(10) print(num1)Give the output of the following when num1 = 4, num2 = 3, num3 = 2.
num1 = int('3.14') print(num1)Give the output of the following:
print(5 % 10 + 10 < 50 and 29 <= 29)What is the difference between else and elif constructs of if statement?