Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #91899
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2015-06-02 14:33 -0700 |
| Message-ID | <3ada3275-68c9-421c-aa19-53c312c42b1f@googlegroups.com> (permalink) |
| Subject | What is the difference between list() and list? |
| From | fl <rxjwg98@gmail.com> |
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,
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
What is the difference between list() and list? fl <rxjwg98@gmail.com> - 2015-06-02 14:33 -0700 Re: What is the difference between list() and list? Joel Goldstick <joel.goldstick@gmail.com> - 2015-06-02 17:38 -0400 Re: What is the difference between list() and list? "Dr. Bigcock" <dreamingforward@gmail.com> - 2015-06-02 14:40 -0700 Re: What is the difference between list() and list? John Gordon <gordon@panix.com> - 2015-06-02 21:49 +0000
csiph-web