You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1c3d31b
Browse filesBrowse the repository at this point in the historyBrowse files
# exercise_10.py:29: error: Unexpected keyword argument "preferred_operating_system" for "Person"; did you mean "preferred_operating_systems"? [call-arg]
57
81
# exercise_10.py:30: error: Unexpected keyword argument "preferred_operating_system" for "Person"; did you mean "preferred_operating_systems"? [call-arg]
58
82
59
-
# Fix all of the places that mypy tells you need changing. Make sure the program works as you’d expect.
83
+
# Fix all of the places that mypy tells you need changing. Make sure the program works as you’d expect.
Copy file name to clipboardExpand all lines: sprint-5-prep-exercises/exercise_11.py
+28-15Lines changed: 28 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -5,49 +5,57 @@
5
5
# Tells the user how many laptops the library has that have that operating system.
6
6
# If there is an operating system that has more laptops available, tells the user that if they’re willing to accept that operating system they’re more likely to get a laptop.
7
7
8
-
# You should convert the age and preferred operating system input from the user into more constrained types as quickly as possible,
8
+
# You should convert the age and preferred operating system input from the user into more constrained types as quickly as possible,
9
9
# and should output errors to stderr and terminate the program with a non-zero exit code if the user input bad values.
0 commit comments