(no subject)

From: Campbell Kwok (forsberg5_at_hotmail.com)
Date: 10/02/04


To: python-list@python.org
Date: Sat, 02 Oct 2004 19:57:41 +0000

Hi, I am trying to write a program for my school homework and I'm a little
stuck. The homework have to do with barcodes and I need to read the barcode,
then add up all the odd number positions(eg a barcode of 123456789012, then
the odd is 1,3,5,7,9,1) I do not know how to get the odd number positions
out of that str of numbers. Please help me

_________________________________________________________________
Scan and help eliminate destructive viruses from your inbound and outbound
e-mail and attachments.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
  Start enjoying all the benefits of MSNŽ Premium right now and get the
first two months FREE*.



Relevant Pages

  • Re: (no subject)
    ... I am trying to write a program for my school homework and I'm a ... > little stuck. ... > the barcode, then add up all the odd number positions(eg a barcode of ... > odd number positions out of that str of numbers. ...
    (comp.lang.python)
  • Re: (no subject)
    ... I am trying to write a program for my school homework and I'm a ... > little stuck. ... > the barcode, then add up all the odd number positions(eg a barcode of ... > the odd number positions out of that str of numbers. ...
    (comp.lang.python)
  • Re: (no subject)
    ... > little stuck. ... The homework have to do with barcodes and I need to read ... > the barcode, then add up all the odd number positions(eg a barcode of ... > the odd number positions out of that str of numbers. ...
    (comp.lang.python)
  • Re: OT: Hitman movie
    ... walking around hatless, am completely bald, and have a barcode ... Quite a few people have tattoes on their head, back of neck and face so I don't find it odd. ...
    (comp.sys.ibm.pc.games.action)