Skip to content

Commit

Permalink
Fix code formatting according to ruff standards
Browse files Browse the repository at this point in the history
  • Loading branch information
faisal-minawi-wego committed Jan 12, 2025
1 parent afef945 commit ad9e284
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions solutions/grading_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ def grading_system(score: int | float) -> str:
"""

assert isinstance(
score, (int, float)
), "The score is neither an integer nor a float."
assert isinstance(score, (int, float)), (
"The score is neither an integer nor a float."
)
assert score >= 0, "Score is less than 0"
assert score <= 100, "Score is greater than 100"

Expand Down

0 comments on commit ad9e284

Please sign in to comment.