2009/11/12 Jeff R. Allen <j...@nella.org>: > Then I tried this to (maybe) set both a and b to 0: > >>>> a, b = 0 > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > TypeError: 'int' object is not iterable
I think you are looking for. >>> a = b = c = 300 Greets Sander _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor