From cf2d997b4382b736d69379c050e9009e8c9b480d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A3=E6=B8=A3=E5=92=8C?= <2608761159@qq.com> Date: Tue, 24 Sep 2024 18:18:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=95=E5=8F=8C=E6=9D=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Exercise3/tricep_dip.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Exercise3/tricep_dip.py b/Exercise3/tricep_dip.py index 54cdf01..6d6797d 100644 --- a/Exercise3/tricep_dip.py +++ b/Exercise3/tricep_dip.py @@ -175,7 +175,7 @@ class Tricep_dip_1(BaseExercise): self.pre_pos = 2 self.had_done = True - if elbow_1 <= 100 or shoulder_1_y > elbow_1_y: + if elbow_1 <= 100 or shoulder_1_y >= elbow_1_y: self.feedback = "上升" if self.state == 1: self.time += 1 @@ -204,7 +204,7 @@ class Tricep_dip_1(BaseExercise): self.pre_pos = 2 self.had_done = True - if elbow_2 <= 100 or shoulder_2_y > elbow_2_y: + if elbow_2 <= 100 or shoulder_2_y >= elbow_2_y: self.feedback = "上升" if self.state == 1: self.time += 1