edit user IO
This commit is contained in:
+11
-2
@@ -12,5 +12,14 @@ def userinput():
|
|||||||
subject = input("Which subject do you want to add? \n")
|
subject = input("Which subject do you want to add? \n")
|
||||||
return "input", subject
|
return "input", subject
|
||||||
elif todo == "category":
|
elif todo == "category":
|
||||||
subject = input("Where do you want to add the category? \n")
|
subject = input("To which subject do you want to add the category? \n")
|
||||||
category = input("Which category do you want ot add? \n")
|
category = input("Which category do you want to add? \n")
|
||||||
|
rating = float(input("Rating? \n"))
|
||||||
|
return "input", subject, category, rating
|
||||||
|
elif todo == "grade":
|
||||||
|
subject = input("To which subject do you want to add the grade? \n")
|
||||||
|
category = input("To which category do you want to add it? \n")
|
||||||
|
grade = input("Grade? \n")
|
||||||
|
gradename = input("What's the name of the grade? \n")
|
||||||
|
return "input", subject, category, grade, gradename
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user