On Fri, 24 Oct 2014 20:15:02 -0400, Seymore4Head wrote:

> On Wed, 22 Oct 2014 16:30:37 -0400, Seymore4Head
> <Seymore4Head@Hotmail.invalid> wrote:
> 
> name="012"

name is a string of 3 characters

> b=list(range(3))

b is a list of 3 numbers

> print (name[1])

name[1] is the string "1"

> print (b[1])

b[1] is the number 1

> if name[1] == b[1]:
>     print ("Eureka!")

This didn't happen

> else:
>     print ("OK, I get it")

This happened

-- 
Denis McMahon, denismfmcma...@gmail.com
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to