Harlin Seritt wrote: > I have the following: > > num1 = ['1', '4', '5'] > > How can I combine the elements in num1 to produce an integer 145?
int(''.join(num1)) -- http://mail.python.org/mailman/listinfo/python-list
Harlin Seritt wrote: > I have the following: > > num1 = ['1', '4', '5'] > > How can I combine the elements in num1 to produce an integer 145?
int(''.join(num1)) -- http://mail.python.org/mailman/listinfo/python-list