Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: Integers with leading zeroes Date: Wed, 22 Jul 2015 13:51:14 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 22 Message-ID: References: <55ab37fb$0$1661$c3e8da3$5496439d@news.astraweb.com> <55aeea13$0$1669$c3e8da3$5496439d@news.astraweb.com> <55aefc70$0$1656$c3e8da3$5496439d@news.astraweb.com> <201507220712.t6M7CxJO014614@fido.openend.se> NNTP-Posting-Host: 67-130-15-94.dia.static.qwest.net Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: reader1.panix.com 1437573074 12087 67.130.15.94 (22 Jul 2015 13:51:14 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Wed, 22 Jul 2015 13:51:14 +0000 (UTC) User-Agent: slrn/1.0.2 (Linux) Xref: csiph.com comp.lang.python:94364 On 2015-07-22, Ben Finney wrote: > Laura Creighton writes: > >> The biggest use I have for decimal numbers that begin with 0 is in >> credit card numbers, account numbers and the like where the first >> check you do is 'does this thing have the correct number of digits'. > > The following are examples of types from the real world that people > think of, and casually discuss, as “numbers”. > > * Postal code > * Credit card number > * Telephone number > * Car registration plate number > * Personal Identification Number (PIN) Those are all strings. Not numbers. -- Grant Edwards grant.b.edwards Yow! does your DRESSING at ROOM have enough ASPARAGUS? gmail.com