python-for-developers icon indicating copy to clipboard operation
python-for-developers copied to clipboard

Recusive addition of list is not working properly

Open mrtushartiwari opened this issue 6 years ago • 1 comments

Chapter 9: Scope of names I am using python3 for the addlist(list) function. unsupported operand type(s) for +=: 'int' and 'list'

mrtushartiwari avatar May 19 '19 05:05 mrtushartiwari

Thank you for opening this issue. Actually, all of the examples included in this book version works only with Python 2.x (it is an old book).

There is a Python 3.x version of this book but it is only a printed version and it was written in Brazilian Portuguese.

When the editor rights expire, maybe we'll publish this book online.

ricardoduarte avatar May 29 '19 13:05 ricardoduarte