-
-
Notifications
You must be signed in to change notification settings - Fork 49.5k
Closed as not planned
Labels
awaiting triageAwaiting triage from a maintainerAwaiting triage from a maintainer
Description
What would you like to share?
def calculate_grade(score):
if 90 <= score <= 100:
return "A"
elif 80 <= score < 90:
return "B"
elif 70 <= score < 80:
return "C"
elif 60 <= score < 70:
return "D"
else:
return "F"
def main():
num_students = int(input("Enter the number of students: "))
student_data = {} # Dictionary to store student names and scores
for i in range(num_students):Additional information
No response
Metadata
Metadata
Assignees
Labels
awaiting triageAwaiting triage from a maintainerAwaiting triage from a maintainer