CBSE Class 11 Computer Science
Question 30 of 161
Flow of Control — Question 12
Back to all questions 12
Question Question 12
If the user inputs : 2<ENTER>, what does the following code snippet print?
x = float(input())
if(x==1):
print("Yes")
elif (x >= 2):
print("Maybe")
else:
print ("No")- Yes
- No
- Maybe ✓
- Nothing is printed
- Error