Beispiel #1
0
def add_category():
    new_category = Category(input("Please enter a new category:\n"))
    Categories.add_category(new_category)
    input("Category -" + str(new_category) +
          "- added successfully. Press enter key in order to continue\n")