Казимагамедов Тагир 424 EvalFormulae 7122
llilyshkall EvalFormulae 7414
f1import ref1import re
22
3def evalform(formula, *args):3def evalform(formula, *args):
t4    return eval(formula, dict(zip(sorted(set(re.findall('[a-zA-Z]+', formula))), args)))t4    return eval(formula, dict(zip(sorted(set(re.findall('[a-z]+', formula))), args)))
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op