On Saturday, December 21, 2013 1:10:37 AM UTC+8, rusi wrote: > On Friday, December 20, 2013 9:30:22 PM UTC+5:30, Mark Lawrence wrote: > > > On 20/12/2013 15:34, rusi wrote: > > > > On Friday, December 20, 2013 8:46:31 PM UTC+5:30, dec...@msn.com wrote: > > > >> 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. > Well, in Python the assignment operation = of a variable named y in the LHS to the object of the RHS result is more complicated than = in those register basd low level languages designed for fast execution speeds in compiled machine codes without an auto GC bundled with the interpreter in the run time.
-- https://mail.python.org/mailman/listinfo/python-list