def remove_category(): '''Function used to remove a category from the txt database''' # read the input and create a new python object categoryToRemove = Category(input('What category you want to remove?\n')) # remove the category Categories.remove_category(categoryToRemove) print("The category was removed.") input(READ_ENTER_KEY)