This commit is contained in:
tstst334
2019-08-02 15:52:16 +02:00
parent 93c9c9d33c
commit 16cb42203d
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -1,5 +1,5 @@
def user_input():
todo = input("Ok, do you want to see them or to edit them [see/edit]?\n")
todo = input("Ok, do you want to see them or to edit them [see/edit/exit]?\n")
if todo == "see":
print("Which subject do you want to know the information?")
subject = input()
@@ -31,6 +31,8 @@ def user_input():
grade = input("Grade? \n")
grade_name = input("What's the name of the grade? \n")
return "input", "grade", subject, category, grade, grade_name
elif todo == "exit":
return "exit"
def user_output(subject, categories, average, average_subject):