Кравченко Роман, 517 EvalFormulae 7821
llilyshkall EvalFormulae 7414
t1import ret1import re
22
3def evalform(formula, *args):3def evalform(formula, *args):
4    return eval(formula, dict(zip(sorted(set(re.findall('[a-z]+', formula))), args)))4    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