Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #97829
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2015-10-20 01:44 -0700 |
| Message-ID | <695863e0-7c7b-4739-bbc7-6719e40133fb@googlegroups.com> (permalink) |
| Subject | unsupported operand type(s) python v2.7 |
| From | ngangsia akumbo <ngangsia@gmail.com> |
>>> def n():
34 * 2
>>> def g():
4 + 2
>>> def ng():
return n() + g()
>>> ng()
Traceback (most recent call last):
File "<pyshell#14>", line 1, in <module>
ng()
File "<pyshell#13>", line 2, in ng
return n() + g()
TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
unsupported operand type(s) python v2.7 ngangsia akumbo <ngangsia@gmail.com> - 2015-10-20 01:44 -0700
Re: unsupported operand type(s) python v2.7 Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> - 2015-10-20 11:00 +0200
Re: unsupported operand type(s) python v2.7 ngangsia akumbo <ngangsia@gmail.com> - 2015-10-20 02:08 -0700
Re: unsupported operand type(s) python v2.7 ngangsia akumbo <ngangsia@gmail.com> - 2015-10-20 02:13 -0700
csiph-web