Python Practice Test
Python Control Flow: Conditional Statements Questions and Answers
What is the output of the following Python code snippet?
```python
temperature = 25
if temperature > 30:
print("Hot")
elif temperature > 20:
print("Warm")
else:
print("Cold")
```
Select your answer
A
Hot
B
Warm
C
Cold
D
No output will be generated.
Hint