Login and get codingWrite an
enum
calledBiteLevel
and adataclass
calledBite
following the instructions below.Make sure that the
dataclass
andenum
objects can be sorted. For that look at the arguments the@dataclass
decorator and type ofenum
respectively.Good luck and keep calm and code in Python!
34 out of 35 users completed this Bite.
Will you be Pythonista #35 to crack this Bite?
Resolution time: ~29 min. (avg. submissions of 5-240 min.)