Write a python program that will take input from the user until the usergives “STOP” as input. In every line the user will provide input as follow:[Brand Name] [PRICE]Your task is to create a dictionary where the brand’s name will be key andthe value will be a list of that brand’s watches ID. ID generate process:inputno_FirstTwoLetterOfBrand_Price. Finally print the dictionary.Sample Input 1:OMEGA 10000TITAN 5000TITAN 3000CREDENCE 150000OMEGA 12000CREDENCE 90000STOP
Sample Output 1:{'OMEGA': ['1_OM_10000', '5_OM_12000'], 'TITAN':['2_TI_5000', '3_TI_3000'], 'CREDENCE': ['4_CR_150000', '6_CR_90000']}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here