Skip to content

Commit

Permalink
Fixed typo in the grade and points task
Browse files Browse the repository at this point in the history
  • Loading branch information
P4r1nc3 committed Aug 18, 2023
1 parent 6c42222 commit ac9fa5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions part02/part02-10_grades_and_points/src/grades_and_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
num = int(input("How many points [0-100]:"))
if num < 0 or num > 100:
print("Grade: impossible!")
elif num < 49:
elif num < 50:
print("Grade: fail")
elif num >= 49 and num <= 59:
elif num >= 50 and num <= 59:
print("Grade: 1")
elif num >= 60 and num <= 69:
print("Grade: 2")
Expand Down

0 comments on commit ac9fa5f

Please sign in to comment.