Harlin Seritt wrote: > If anyone has time, would you mind explaining the code that Dan Bishop > was so kind as to point out to me: > > int(''.join(num1)) > > This worked perfectly for me, however, I'm not sure that I understand > it very well. > > Thanks, > > Harlin Seritt
''.join(list of strings) is a python idiom for fast string concatenation. ''.join(num1) would give "145". The function int() is then used to convert the resulting string into an integer. -- http://mail.python.org/mailman/listinfo/python-list