XI Worksheet1 Conditions
XI Worksheet1 Conditions
Q.1 What will be output of the following code fragment if the input given is 10.1
a = input(‘Enter a number’)
if(a= = 5) :
print(“five”)
else:
print(“Not Five”)
Q.2 Write a program to calculate BMI of a person after inputting its weight and height and then print its
nutritional status as per the following table:3