[Tutor] Tutor Digest, Vol 54, Issue 72

Dotan Cohen dotancohen at gmail.com
Thu Aug 21 21:31:28 CEST 2008


2008/8/21 Lie Ryan <lie.1296 at gmail.com>:
> Python is strictly typed (unlike some languages like Javascript), you
> cannot compare a string with a number although the string only contains
> numbers. sys.argv[...] is a list of strings so preNumber[0] is a string,
> while 0 is an integer.

Thanks.

-- 
Dotan Cohen

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

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


More information about the Tutor mailing list