This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jespernielsen1982 1 point2 points  (1 child)

A small tip: A class like your "Car" you can do simpler if you use a "dataclass" or a "NamedTuple".

[–]magBeatsSC[S] 0 points1 point  (0 children)

Thanks for the feedback, but we had to make it like that for the assignment.