kindly tell what am doing wrong, because error is there.
remove the function call at line 28, it changes the stock before exercise can be validated
now it is working, but what is the point then, i couldnt get. wasnt our objective to print total cost incurred for our shopping_list
yes it is, but unfornately calling the function will manipulate the stock,which causes problems
outside the lessons, its perfectly valid to call the function, only now for validition purpose you must briefly remove your function call
thanks sir for your guidance.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.