| 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" | |
| 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" | |