Bite 320. sortable dataclasses and enums
Login and get codingWrite an
enumcalledBiteLeveland adataclasscalledBitefollowing the instructions below.Make sure that the
dataclassandenumobjects can be sorted. For that look at the arguments the@dataclassdecorator and type ofenumrespectively.Good luck and keep calm and code in Python!
37 out of 38 users completed this Bite.
Will you be the 38th person to crack this Bite?
Resolution time: ~29 min. (avg. submissions of 5-240 min.)