diff options
Diffstat (limited to 'Examples/python/template/runme.py')
-rw-r--r-- | Examples/python/template/runme.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Examples/python/template/runme.py b/Examples/python/template/runme.py index e408e15f9..85b1ba937 100644 --- a/Examples/python/template/runme.py +++ b/Examples/python/template/runme.py @@ -3,8 +3,8 @@ import example # Call some templated functions -print example.maxint(3, 7) -print example.maxdouble(3.14, 2.18) +print(example.maxint(3, 7)) +print(example.maxdouble(3.14, 2.18)) # Create some class @@ -21,12 +21,12 @@ sum = 0 for i in range(0, 100): sum = sum + iv.getitem(i) -print sum +print(sum) sum = 0.0 for i in range(0, 1000): sum = sum + dv.getitem(i) -print sum +print(sum) del iv del dv |