Closed codingpotato closed 2 years ago
Implement #213
Please run math_lib.py for example code of the math library.
dotnet run --project csharp/src/SeedLang.Shell -- -f examples/seedpython/scripts/math_lib.py
Some builtin functions are added as well, like abs, all, any, dir, sum. For example:
a = [True, False, True] all(a) any(a) a = [1, 2, 3] sum(a) dir() import math dir(math)
Implement #213
Please run math_lib.py for example code of the math library.
Some builtin functions are added as well, like abs, all, any, dir, sum. For example: