00:01
In this question here we have to create a python, create a python solution of the following task.
00:06
So, here the answer is def find price, find price of item comma quality.
00:26
So, here inventory bracket is equals to bananas is 1 .85, streak is 19 .99, cookies is 4 .52, calories is 2 .81 and milk is 4 .34.
01:24
So, here price is equals to inventory item bracket item.
01:38
So, tot equals to quantity multiply by price.
01:51
If quantity is less than 10 then final price is equals to tot, final price is equals to tot.
02:13
If quantity is greater than equals to 10 and quantity is less than equals to 20.
02:36
So, discount is equals to tot multiply by 5 divided by 100.
02:49
Final price, final price is equals to tot minus discount...