Skip to content

Commit 72f05f6

Browse files
authored
added comment to seconds
1 parent f9ec61d commit 72f05f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assessment/Wk2/seconds.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@ def get_int(input_prompt, min_val=int(1), max_val=int(100)):
4040

4141
a_parts=tmp_conv.split(":")
4242

43+
# I noticed the Minutes value column was misaligned on the assignments layout, but assumed that was an oversight.
4344
print ( f'{"Input":6} {"Hours":>10} {"Minutes":>10} {"Seconds":>10} ')
4445
print ( f'{var_seconds:<6} {int(a_parts[0]):10} {int(a_parts[1]):10} {int(a_parts[2]):10} ')

0 commit comments

Comments
 (0)