y = raw_input('Enter a number:')
print type y
y = float(raw_input('Enter a number:'))
print type y

I'm assuming that y is an object. I'm also assuming that the second and the 
first y are different objects because they have different types.
The second time we type print type y, how does the program knows which one of 
the y's it refers to ?  Is the first y object deleted ?
thanks in advance.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to