We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78ff572 commit 18106deCopy full SHA for 18106de
1 file changed
implement-laptop-allocation/main.py
@@ -33,9 +33,4 @@ def sadness(person: Person, laptop: Laptop):
33
return 100
34
35
36
-if laptop.operating_system == person.preferred_operating_system:
37
- return index(Person.preferred_operating_system)
38
-else:
39
- return "Sadness level is 100"
40
-
41
def allocate_laptops(people: List[Person], laptops: List[Laptop]) -> Dict[Person, Laptop]:
0 commit comments