source:
git/Singular/dyn_modules/python/perf.py
@
3fcc98e
Last change on this file since 3fcc98e was 3fcc98e, checked in by , 4 years ago | |
---|---|
|
|
File size: 94 bytes |
Rev | Line | |
---|---|---|
[f534a3] | 1 | from Singular import number |
2 | n=number(1); | |
3 | s=number(0) | |
[3fcc98e] | 4 | for i in range(1000000): |
[f534a3] | 5 | s=s+n |
[3fcc98e] | 6 | print(s) |
Note: See TracBrowser
for help on using the repository browser.