去做: 将VarService伪代码转换为python class VatService { double vatValue; public VatService() { this.vatValue = 0.23; } public double getGrossPriceForDefaultVat(Product product){ return getGrossPrice(product.getNetPrice(), vatValue); } public double getGrossPrice(double netPrice, double vatValue){ if(vatValue > 1){ throw Exception }