From 6a3f6bc687b57c6c05d80c587804fa3847368409 Mon Sep 17 00:00:00 2001 From: "chaojen.chen@gmail.com" Date: Fri, 12 Jul 2024 17:23:19 -0700 Subject: [PATCH] fix the buggy function. --- participants/scipy_047/pr_tutorial/buggy_function.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/participants/scipy_047/pr_tutorial/buggy_function.py b/participants/scipy_047/pr_tutorial/buggy_function.py index 6f38a6b..4d148b1 100644 --- a/participants/scipy_047/pr_tutorial/buggy_function.py +++ b/participants/scipy_047/pr_tutorial/buggy_function.py @@ -19,6 +19,8 @@ def angle_to_sexigesimal(angle_in_degrees, decimals=3): """ if math.floor(decimals) != decimals: raise OSError('decimals should be an integer!') + + print('test') hours_num = angle_in_degrees*24/180 hours = math.floor(hours_num)