- 1

Write Python code which accepts name of a product and in turn returns their respective prices.

1st Feb 2022, 1:41 PM
Vesly Raju
1 ответ
+ 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
1st Feb 2022, 1:53 PM
Muhammad Galhoum
Muhammad Galhoum - avatar