1 |
120917 Philip Webb wrote: |
2 |
> 120917 David W Noon wrote: |
3 |
>> print(' {0}'.format(eval(expression))) |
4 |
|
5 |
That works properly with Python2 in this machine ; |
6 |
I'll check it with Python3 later in the new machine. |
7 |
|
8 |
> 120917 Marc Joliet wrote: |
9 |
>> print(' ',eval(expression)) |
10 |
|
11 |
That does the calculation, but the output is wrongly formatted : |
12 |
|
13 |
514 bin> pycalc1 2+3 |
14 |
(' ', 5) |
15 |
|
16 |
Thanks again |
17 |
|
18 |
-- |
19 |
========================,,============================================ |
20 |
SUPPORT ___________//___, Philip Webb |
21 |
ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto |
22 |
TRANSIT `-O----------O---' purslowatchassdotutorontodotca |