Kuring ngartos yén anjeun hoyong ngamutahirkeun program kalkulator pikeun ngungkulan input téks kalayan éksprési aritmatika anu ngalibetkeun penjumlahan, pengurangan, perkalian, sareng ngabagi. Ieu versi dirobih tina kalkulator anu tiasa ngolah éksprési sapertos kieu: ```python import re kelas kalkulator: def __init__(self): self.operations = { '+': self.add, '-': self.subtract, '*': self.multiply, '/': self.divide, } defself, a, b): return a + b defract(self, a, b): return a - b defract, a, b): return a * b defract == self, a, b: return a / b evaluate, expression expression expression expression expression: {((((((((((((
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence