Программа перекомпанована

This commit is contained in:
2026-05-07 14:22:14 +05:00
parent 0b54165e99
commit cc56475d79
24 changed files with 1873 additions and 1168 deletions
+10
View File
@@ -0,0 +1,10 @@
class Reagent:
def __init__(self, name: str, percentage: float, unit: str, conversion_factor: float = 1.0):
self.name = name
self.percentage = percentage
self.unit = unit
self.conversion_factor = conversion_factor
self.dilution_factor = 1.0
def __repr__(self):
return f"Reagent(name={self.name}, percentage={self.percentage}, unit={self.unit})"