From b8c379ec84451511e68516712e04a883faa1900d Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sat, 1 Jun 2024 15:49:41 +0800
Subject: [PATCH] save project

---
 diy.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/diy.py b/diy.py
index c1e0474..7ea53f0 100644
--- a/diy.py
+++ b/diy.py
@@ -4,8 +4,8 @@ cost= {'苹果':5.2,'山竹':12.9,'香蕉':2.4,'荔枝':15,'葡萄':9.3,'桂圆'
 k=input('请输入水果名称:')
 v=input('请输入水果价钱:')
 if k in cost:
-    if  int(v)<cost(k)
-        cost[k]=float(v)更新价钱
+    if  int(v)<cost(k):
+        cost[k]=float(v)
         print(k+'降价了,现价'+v+'元')
     else:
         print(k+'涨价了,我们不买')
--
libgit2 0.25.0