diff --git a/TEMA6/test.md b/TEMA6/test.md index c7cc1a0..b132d42 100644 --- a/TEMA6/test.md +++ b/TEMA6/test.md @@ -36,7 +36,7 @@ M2_11 ## 3. ```py ->>> result = [eval("math." + function + "(" + str(x) + ")") for x in tpl] +>>> result = [eval('math.' + function + '(x)') for x in tpl] >>> result [4.47213595499958, 4.898979485566356, 5.916079783099616, 5.291502622129181, 4.47213595499958, 4.358898943540674, 4.795831523312719, 5.0, 5.0990195135927845, 5.291502622129181, 3.605551275463989, 4.242640687119285, 4.69041575982343, 4.58257569495584, 5.385164807134504, 5.196152422706632, 5.0, 5.196152422706632, 5.385164807134504, 5.0] ```