diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..b694934fbf9b49ee808b6dfc7292c28e2c46a97e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.venv \ No newline at end of file diff --git a/main.py b/main.py index 859753f2dcbd0d879492ace04a84f0a945b763af..c0642a97491200709824c62b293436fe0bc01963 100644 --- a/main.py +++ b/main.py @@ -7,34 +7,62 @@ import os """ These are global variables, some can be changed. """ -# Student Variables -global scoreDefault # Default score, this is the max score you can achieve without extra credit -scoreDefault = 100 +""" +GLOBALS +""" +global scoreDefault # Default score, this is the max score you can achieve without extra credit global score -score = scoreDefault # actual score, copies score default to first start off - global name -name = "" # Name of student - global late -late = False # was the assignment turned in late? Default is false. - global latePenalty -latePenalty = scoreDefault * 0.1 # 10% of score default - -# ! DO NOT MODIFY POINTS FOR RUN, points for each run are stored here global pointsForRun -pointsForRun = [] +global title +global defaults + +""" + * CHANGEABLE +""" +# Student Variables + +scoreDefault = 100 # What the score is out of # Title of lab rubric -global title + title = "Name of Assignment" # Default points stored, 0 default for extra credit. -global defaults + defaults = [10,15,20,0] +# Late penalty if submission is late + +latePenalty = scoreDefault * 0.1 # 10% of score default + +""" +! NON CHANGEABLE +""" + +# DO NOT MODIFY SCORE + +score = scoreDefault # actual score, copies score default to first start off + +# DO NOT MODIFY NAME + +name = "" # Name of student + +# DO NOT MODIFY LATE + +late = False # was the assignment turned in late? Default is false. + + + +pointsForRun = [] + +""" +End of Variable Statements +""" + def clear():