Problem

Stidolph, David stidolph at origin.ea.com
Wed May 19 14:56:36 EDT 1999


I'm mystified, the code you show should work.  What does it have to do with
strings?

-----Original Message-----
From: Frank de Bot [mailto:debot at xs4all.nl]
Sent: Wednesday, May 19, 1999 12:52 PM
To: python-list at cwi.nl
Subject: Problem


How can I calculate with string if they are numbers.
For example:
first = 20
second = 10
calc = first - second   # This doesn't work. I hope you understand what
I try to do.

Thanks in advance,





--
                          \\\|///
                        \\  - -  //
                         (  @ @  )
/----------------------oOOo-(_)-oOOo--------------------\
|                                                       |
|                                                       |
| My Email:  debot at xs4all.nl                            |
| Homepages: http://www.debot.nl/ppi/                   |
|           http://www.searchy.net/lyrics/             |
|           http://www.searchy.net/                    |
|                                                       |
\-------------------------------Oooo--------------------/
                        oooO    (   )
                       (   )    ) /
                       \ (     (_/
                        \_)






More information about the Python-list mailing list