def discounted(price, percent): return round(price * percent / 100)
核对折扣 percent 表示减免比例。若当前 diff 把实付金额改为折扣额,先停下,选择错误改动之前 checkpoint 的 Restore Files,再运行三组测试。
app.py
原创练习文件的浏览器截图;不是 AI 产品界面。