41. What is the elif keyword used for?
- To mark the end of the if statement
- To handle more than two comparison cases
- To replace the “or” clause in the if statement
- Nothing – it’s a misspelling of the else-if keyword
42. When using an if statement, the code inside the if block will only execute if the conditional statement returns what?
- False
- A string
- 0
- True
44. Can you calculate the output of this code?
def greater_value(x, y):
if x > y:
return x
else:
return y
print(greater_value(10,3*5))
15