Максим Доледенок, 528 группа EvalFormulae 9692
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('\\b[a-zA-Z]+\\b', 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