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.

12 lines
289 B

6 months ago
class reag__:
def __init__(self, category: str = '-', comps = {}, out: int = 0):
6 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]