Python Practice Test

Python Control Flow: Conditional Statements Questions and Answers

Free · Instant Results

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") ```
▶ Start Practice Test