Plz comment on this code
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Sun Sep 19 07:23:21 EDT 2010
In message <4c957412$0$3036$afc38c87 at news.optusnet.com.au>, fridge wrote:
> digits=[zero,one,zero,one,zero,one,zero,one,zero,one]
digits = [zero, one] * 5
> row_max=3
Defined but never used.
> digit_i=int(inputted_digit[c])
> digit=digits[digit_i]
> line+=digit[r]
> line+=" "
Too many intermediate variables only defined and used once. Do this all on
one line.
More information about the Python-list
mailing list