print("\n--- 2. 条件语句 ---") score = 85 if score >= 90: print("成绩优秀!") elif score >= 60: print("成绩合格。") else: print("成绩不合格,需要加油!")