[Tutor] Reformatting phone number

Dotan Cohen dotancohen at gmail.com
Wed Aug 20 23:27:30 CEST 2008


2008/8/21 Robert Berman <bermanrl at embarqmail.com>:
> Perhaps because preNumber is a character and not an integer?
>

Perhaps. In php the distinction was made by the fact that there were
no non-numerical characters in a string. I don't know enough Python to
know if this is the case. Can I declare a variable type in Python as
in C?

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

ä-ö-ü-ß-Ä-Ö-Ü


More information about the Tutor mailing list