Write a program to manage an inventory of five items.


Notice: Trying to access array offset on value of type bool in /home/onliiuxo/public_html/wp-content/themes/betheme/functions/theme-functions.php on line 1490

Notice: Trying to access array offset on value of type bool in /home/onliiuxo/public_html/wp-content/themes/betheme/functions/theme-functions.php on line 1495

Write a program to manage an inventory of five items.


Notice: Trying to access array offset on value of type bool in /home/onliiuxo/public_html/wp-content/themes/betheme/functions/theme-functions.php on line 1490

Notice: Trying to access array offset on value of type bool in /home/onliiuxo/public_html/wp-content/themes/betheme/functions/theme-functions.php on line 1495

Use Python 3.6 to do this program. ( .py) Task: Write a program to manage an inventory of five items. (10 marks) Your program must: Initialise a list with five elements with each item being the string “EMPTY”. Ask the user to add (a), remove (r) or quit (q) Only accept a, r or q. Prompt for which slot (1-5) to add/remove. Display the contents of the inventory after each operation (see sample output). Use loops( while loops, for loops and list). And output should same as “Sample Output”.