File size: 247 Bytes
52bb745
 
 
 
 
 
 
1
2
3
4
5
6
7
8
def get_feedback(score: int) -> tuple[str, str, str]:
    if score > 90:
        return "✅", "Excellent!", "#2ecc71"
    elif score > 70:
        return "⚠️", "Some mistakes", "#f39c12"
    else:
        return "❌", "Try again", "#e74c3c"