variable vs. object

Joel Goldstick joel.goldstick at gmail.com
Sun Nov 29 21:16:04 EST 2015


On Sun, Nov 29, 2015 at 9:06 PM, fl <rxjwg98 at gmail.com> wrote:

> Hi,
>
> I read several parts on line about Python that everything in Python is an
> object. Yes, it is a key difference with other languages. Then, I read a
> page
> it says variables: global and local variable at:
>
> http://www.tutorialspoint.com/python/python_functions.htm
>
>
> I have a question that whether variables are objects?
>
> For example,
>
> a=10
>
> 'a' is an integer. Is it an object too?
>

yes

>
> Thanks,
> --
> https://mail.python.org/mailman/listinfo/python-list
>



-- 
Joel Goldstick
http://joelgoldstick.com/stats/birthdays



More information about the Python-list mailing list