✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What does this Python code return?
temps = [12, -3, 0, 22, 8]
categories = ["Cold" if t < 10 else "Mild" if t < 20 else "Hot" for t in temps]
print(categories)