From f71e098d05f9c1b1ea691d1f7c37a039599facf3 Mon Sep 17 00:00:00 2001 From: Alex Hewson <69345308+alexhewson@users.noreply.github.com> Date: Sun, 24 Sep 2023 18:52:51 +0100 Subject: [PATCH] Incorrect self._s value in E4-1.py self._s has an incorrect value asignment in the __Init__() method. Expected value for self._s is s. Actual value for self._s is h I have updated the value of self._s to s. --- exercise-code/E4-1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercise-code/E4-1.py b/exercise-code/E4-1.py index 0beaa76..9f7e57e 100644 --- a/exercise-code/E4-1.py +++ b/exercise-code/E4-1.py @@ -5,7 +5,7 @@ class Time: def __init__(self,h,m,s): self._h = h self._m = m - self._s = h + self._s = s #Read-only field accessors @property