[Tutor] Python 3: List Comprehensions + range
Danny Yoo
dyoo at hashcollision.org
Sun Sep 21 21:25:21 CEST 2014
On Sun, Sep 21, 2014 at 11:11 AM, Juan Christian
<juan0christian at gmail.com> wrote:
> Anyone?
Please treat email as asynchronous: sometimes you'll get a response
within minutes, but sometimes it takes a little longer.
Reading the question quickly... I can't answer this too carefully. I
haven't even had breakfast or lunch yet! :P
But there appears to be a type error here. You're using the name
"season" in different contexts, where sometimes you mean the season
number, and in other places, you mean the season object.
Particularly, you appear to expect the constructor of Episode to take
in the season *number*, but within the Season constructor, you're
passing it the season *object*.
More information about the Tutor
mailing list