Skip to content

Commit 275feb8

Browse files
committed
corrected laptop_counter func
1 parent 60782dd commit 275feb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

prep-exercises/exercise_eleven.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,6 @@ def laptops_counter(preferred_operating_system_input:str) ->int:
9595
if sum == 1:
9696
return f"There is {sum} laptop with {user_os} operating system"
9797
elif sum > 1:
98-
return f"There are {sum} laptops with {user_os} operating system.\nIf you're happy with {user_os}, you’ll have a better chance of getting a laptop."
98+
return f"There are {sum} laptops with {user_os} operating system"
9999

100100
print(laptops_counter(preferred_operating_system_input))

0 commit comments

Comments
 (0)