On 26/04/19 10:58 AM, Steven D'Aprano wrote:
On Thu, Apr 25, 2019 at 05:40:18PM +0530, Arup Rakshit wrote:
I have a small app like this:
Please simplify your code to the minimum needed to demonstrate the
problem you are asking about. This bit is excellent:
pizza-shop$ tree .
.
└── pizzapy
On Thu, Apr 25, 2019 at 05:40:18PM +0530, Arup Rakshit wrote:
> I have a small app like this:
Please simplify your code to the minimum needed to demonstrate the
problem you are asking about. This bit is excellent:
> pizza-shop$ tree .
> .
> └── pizzapy
> ├── __init__.py
> ├── menu.py
>
I have a small app like this:
pizza-shop$ tree .
.
└── pizzapy
├── __init__.py
├── menu.py
└── pizza.py
1 directory, 3 files
# menu.py
from typing import List
from pizza import Pizza
MENU: List[Pizza] = [
Pizza('Margherita', 30, 10.0),
Pizza('Carbonara', 45, 14.99),
Pi