- 1
Write Python code which accepts name of a product and in turn returns their respective prices.
1 Antwort
+ 2
U should put your attempt firstly
But I will give u some help
U should use dictionary (keys will be the product name and the values will be the respective prices ) also u should use for loop and if condition on the keys of the dictionary to find what you want