Computer Science, asked by SudhanshuSingh999, 8 months ago

Write a python program to input names of 'n' customers and their details like items bought cost and phone number store it in a dictionary and display all the details in a tabular form​

Answers

Answered by pesh20gathoni
9

Answer:

n=int(input("Enter the numbers of customer you want to add "))

item_name = dict()

item_cost = dict()

phone = dict()

for x in range(1,n+1):

  item_name[n]= string(inputrow("Enter the name of customer :"))

   item_cost[n] =  int(inputrow("Enter the cost of Item :"))

    phone[] = int(inputrow("Enter the phone number of customer :"))

print(item_name)

print(item_cost)

print(phone)

Explanation:

The above paython code will get inputs from the user and dispaly the details as output.

Similar questions