Skip to content

Commit cc0cd9c

Browse files
committed
Fixed return type
1 parent 5efefcd commit cc0cd9c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

laptop/myLaptop

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ class Laptop:
2222
screen_size_in_inches: float
2323
operating_system: OperatingSystem
2424

25-
def allocate_laptops(people: List[Person], laptops: List[Laptop]) -> dict[Person, Laptop]:
25+
def allocate_laptops(
26+
people: List[Person],
27+
laptops: List[Laptop]
28+
) -> dict[str, tuple[str, int]]:
2629
allocateLp = {}
2730
lpNewList = laptops.copy()
2831

0 commit comments

Comments
 (0)