Hi,

I find the following results are interesting, but I don't know the difference
between list() and list.






>>> nums=list()
>>> nums
[]
>>> xx=list
>>> xx
<type 'list'>
>>> nums
[]
>>> print(xx)
<type 'list'>
>>> print(nums)
[]
>>> 



Could you tell me that?

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

Reply via email to