Generation

generate functionMon, 26 Dec 2022

Query students' grades, 90 points or more are excellent, 70-80 points are good

def grade(score): if score >= 90: return 'Excellent' elif score >= 80: return 'Good' else: return 'Bad' grade(95)

Questions about programming?Chat with your personal AI assistant