In 3ada3275-68c9-421c-aa19-53c312c42...@googlegroups.com fl
rxjw...@gmail.com writes:
I find the following results are interesting, but I don't know the difference
between list() and list.
'list()' invokes the list class, which creates and returns a new list.
Since you haven't passed any
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,
--
On Tue, Jun 2, 2015 at 5:33 PM, fl rxjw...@gmail.com wrote:
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