K12教育赛事综合服务平台
聚乐之家官方网站
下载聚乐之家官方App
专注青少年竞赛题库网站
以下是一段Python代码片段:
score = 82 level = "" if score >= 9: level = "优秀" elif score >= 8: level = "良好" elif score >= 6: level = "及格" else: level = "不及格" print(level)
优秀
良好
及格
不及格