Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60651
| Date | 2013-11-28 11:55 +1100 |
|---|---|
| From | Cameron Simpson <cs@zip.com.au> |
| Subject | Re: error |
| References | <f72cc61d-eb91-459a-8099-3e2b1be743ec@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3331.1385600125.18130.python-list@python.org> (permalink) |
On 27Nov2013 16:37, speen saba <moonlightmadness86@gmail.com> wrote: > Hello there, > I am attending the lectures, and written the codes according to lectures. Professor's codes are working fine, but my one gives an error. I am new to python. Please it's a humble request, just be easy on me while making me understand about the code. It will be much appreciated. > Well, right at the top of your code you set "P" to be a list: > p = [1,2] Are you sure you don't want to print pp1.x or pp2.x or cp1.x or cp2.x? Cheers, -- Cameron Simpson <cs@zip.com.au> Achilles, a PHD student, had to choose between having a passionate but poor life as an academic or a dull but rich life as a IT professional yuppie. Legend has it that he chose poverty.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
error speen saba <moonlightmadness86@gmail.com> - 2013-11-27 16:37 -0800 Re: error Cameron Simpson <cs@zip.com.au> - 2013-11-28 11:55 +1100 Re: error Dave Angel <davea@davea.name> - 2013-11-27 21:30 -0500
csiph-web