Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f71e098

Browse files
authoredSep 24, 2023
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.
1 parent 2786a1b commit f71e098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎exercise-code/E4-1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Time:
55
def __init__(self,h,m,s):
66
self._h = h
77
self._m = m
8-
self._s = h
8+
self._s = s
99

1010
#Read-only field accessors
1111
@property

0 commit comments

Comments
 (0)
Please sign in to comment.