actions / actions/starter-workflows

PROGRAM GRADING SYSTEM BY MORAH KELVIN CHIBUIKE SOFTWARE ENGINEERING.PY

Open
#2,954 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
12.1k
Forks
7.3k
PR merge metrics
No merged PRs in 30d

Description

def get_grade(score):
if 70 <= score <= 100:
return 'A'
elif 60 <= score <= 69:
return 'B'
elif 50 <= score <= 59:
return 'C'
elif 45 <= score <= 49:
return 'D'
elif 40 <= score <= 44:
return 'E'
else:
return 'F'

def main():
try:
score1 = int(input("Enter score for Student 1: "))
score2 = int(input("Enter score for Student 2: "))

    grade1 = get_grade(score1)
    grade2 = get_grade(score2)

    print(f"Student 1 Grade: {grade1}")
    print(f"Student 2 Grade: {grade2}")

except ValueError:
    print("Please enter valid numeric scores.")

if name == "main":
main()

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue body contains a standalone Python grading program, but it names no repository file, test, workflow, or requested integration point. First determine whether this belongs in starter-workflows and where it would be used; no completion criteria are provided, so the expected result must be clarified before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ci-cd
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
10/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.