huangting

Hand on work.
Thanks，I have changed it again.发送自 --------- Original Message --------- From: She Jinxin To: Jnrainerds/lesson-task Date: Fri Nov 07 23:38:58 GMT+08:00 2014 Subject: Re: [lesson-task] huangting (#14) In lesson-1/huangtings-task/lesson-task.py:> @@ -0,0 +1,95 @@ > +import sys > + > +class eatNuts: > + """This class retain one kind of nuts which can be removed to eat > + in an individually way,and will raise an error > + if you didn't choose the right nuts. > + """ > + > + def __init__(self, items={}): > + """ > + through the initial dictionary of items > + """ > + if type(items) != type({}): 像这里用type(item) != dict就可以了—Reply to this email directly or view it on GitHub.