You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
288 B

7 months ago
class reag__:
def __init__(self, category: str = '-', comps = {}, out: int = 0):
7 months ago
# medicine
self.category = category
# {'инапровалин': 1, 'углерод': 1}
self.comps = comps
# 2
self.out = out
def get_all(self):
return [self.category, self.comps, self.out]