def add_category(): '''Function used to display the jewlery menu in the console''' # read the input and create a new python object newCategory = Category(input('What category you want to add?\n')) # load the new category in the txt database Categories.add_category(newCategory) print( str(newCategory) + ' added successfully') input("\nPress enter key in order to continue\n")