Skip to content

Commit d8e8bc6

Browse files
found it. had not saved after finishing my f string. forgot to have the single digits printed
1 parent 3509216 commit d8e8bc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/muki/lab03.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
if str(lose) in special_cases:
114114
print(f'{numbah} is: {hundreds_digits[str(hundreds_place)]} {special_cases[str(lose)]}')
115115
elif tens_place == 0 and hundreds_place >= 1:
116-
print(f'{numbah} is: {hundreds_digits[str(hundreds_place)]}')
116+
print(f'{numbah} is: {hundreds_digits[str(hundreds_place)]} and {single_digits[str(ones_place)]}')
117117
elif tens_place != 1:
118118
print(f'{numbah} is: {hundreds_digits[str(hundreds_place)]} {tens_digits[str(tens_place)]}{single_digits[str(ones_place)]}')
119119
elif str(lose) not in special_cases:

0 commit comments

Comments
 (0)