Hi, tell me how to write the code correctly | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Hi, tell me how to write the code correctly

Write a program to store with the functions: 1) Adding products to the section ( see the practice lesson) 2) Deleting products from the section without deleting the section itself 3) Output of all products and sections 4) Output of all products in the selected section 5) Function to reduce and increase the price of any product https://code.sololearn.com/cvfry8ZRnjZ3/?ref=app

3rd Nov 2020, 11:26 PM
Alexsander
2 Answers
0
There are no docstrings in this program, I'm unable to identify which function is doing what task. Please make it a little elaborative or let me know about the requirements of the program, I'll make you one!
4th Nov 2020, 12:33 PM
Adeel
0
Working conditions - write a store program with functions: 1) Adding products by section 2) Removing products from a section without deleting the section itself 3) Display of all products and sections 4) Display of all products of the selected section 5) Function of decreasing and increasing the price of any product
4th Nov 2020, 2:21 PM
Alexsander