Passed Exam Value

Write a Python program to determine the grade of a student based on their marks. The grading system is as follows:

90 or above: 'A' 80-89: 'B' 70-79: 'C' 50-69: 'D' Below 50: 'F' Additionally, check if the student has passed or failed (marks greater than or equal to 50 are considered passing).

Your program should take the student's marks as input and display both the grade and whether they passed or failed. provide python code for this.
45
Total : 0 Discussion
Login