Problem

Frank de Bot debot at xs4all.nl
Wed May 19 13:52:19 EDT 1999


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