Skip to content

Commit 3b84ade

Browse files
committed
function to allocate laptop for each person
1 parent a7f4634 commit 3b84ade

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

implement-laptop-allocation/main.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,8 @@ class Laptop:
2121
manufacturer: str
2222
model: str
2323
screen_size_in_inches: float
24-
operating_system: OperatingSystem
24+
operating_system: OperatingSystem
25+
26+
27+
28+
def allocate_laptops(people: List[Person], laptops: List[Laptop]) -> Dict[Person, Laptop]:

0 commit comments

Comments
 (0)