Time

HMS Surprise john at datavoiceint.com
Mon May 14 10:27:35 EDT 2007


On May 14, 9:22 am, HMS Surprise <j... at datavoiceint.com> wrote:
> > if t[2] == 'PM':
> >     hrMn[0] = int(hrMn[0]) + 12
>
> Oops, should be:
> hrMn[0] = int(hrMn[0]
>     if t[2] == 'PM':
>     hrMn[0] += 12

Oops +=1, should be:
 hrMn[0] = int(hrMn[0]
 if t[2] == 'PM':
     hrMn[0] += 12

Need more starter fluid, coffee please!!!




More information about the Python-list mailing list