GarbageTruck #10
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "s464933-patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -0,0 +1,33 @@
from typing import List
class garbageTruck:
możesz używać Pascal Case do nazywania klas? Czyli w naszym wypadku "GarbageTruck"
@ -0,0 +1,33 @@
from typing import List
class garbageTruck:
position: List[int, int]
Tuple zamiast List?
@ -0,0 +2,4 @@
class garbageTruck:
position: List[int, int]
paper: []
Typ listy: RecognizedGarbage
chodzi o to, żeby listy śmieci były typowane, czyli np. paper: List[RecognizedGarbage], tak dla wszystkich list
garbageTruckto GarbageTruck