# def take_and_store_input():

#     category = input("Enter a category:")
#     product = input("Enter the product:")
#     brand = input("Enter the brand: ")

#     # a data row contains category, product, brand keys and values
#     #{"category" : automobile, "product": car, "brand": "maruti"}
#     data_row = {}

#     data_row["cat"] = category
#     data_row["product"] = product
#     data_row["brand"] = brand
#     return data_row
# result = take_and_store_input()
# print(result)
# data_points = ["category",
#                 "product",
#                 "brand"]
# for data_point in data_points:
#     input_data = input(f"Enter {data_point}:")
#     print(input_data)

###shorter version of the above code
# def take_and_store_input():    
#     data_row = {}
#     data_row["category"] =  input("Enter a category:")
#     data_row["product"] = input("Enter the product:")
#     data_row["brand"] = input("Enter the brand: ")
#     return data_row
# result = take_and_store_input()
# print(result)
########

