To operate the Blended Learning Center(BLC) at optimal level, maintenance will be performed every day at 8:30 AM and at 5:00 PM regularly which can take up to 30 minutes. Please consider scheduling your activity in the BLC platform accordingly.
Lab Task on Lesson-2
Suppose, you have been assigned to determine the letter grade of a number. Now, write a python code that will take a number as input and will show you the letter grade of that input.
Input Value
|
Letter Grade
|
80 to 100
|
A+
|
75 to less than 80
|
A
|
70 to less than 75
|
A-
|
65 to less than 70
|
B+
|
60 to less than 65
|
B
|
55 to less than 60
|
B-
|
50 to less than 55
|
C+
|
45 to less than 50
|
C
|
40 to less than 45
|
D
|
0 to less than 40
|
F
|
Others
|
Invalid
|
N.B. You need to submit the code in the provided online editor. There is no need for any file attachments.