Hello guys, I am writing a python code that will help organize sales data of a pizza joint. I am using a 2 Dimensional (2D) list for the project but having challenges deleting items from my list using the remove() method. Below is an excerpt of my code:
Usually . remove() works when u indicate the item and not the index. Your code will work when u use pizza_and_prices.pop()
The pop() method removes the last item, or you can specify the index to remove it
I was expecting a response from @Reginald_Owusu for this question (I remember him as the Python guy ), but he was nowhere to be found. Welcome back Reginald.
Yeah, it can be a task for some people, the more you use it, the more you’ll get used to it (DUH? ). But seriously if you don’t get something please ask @Emp_Sel or @Danny, they are experts on how to use OF.