llilyshkall EvalFormulae 7414
Александр Репин, 528 группа EvalFormulae 8168
f1import ref1import re
22
3def evalform(formula, *args):3def evalform(formula, *args):
t4    return eval(formula, dict(zip(sorted(set(re.findall('[a-z]+', formula))), args)))t4    return eval(formula, dict(zip(sorted(set(re.findall('\\b[a-zA-Z]+\\b', formula))), args)))
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op