Jul-19-2017, 04:53 PM
Quote:new_digit=int(new_digit)Try this instead:
new_digit = map(int, new_digit.split(","))
create a 20 digit string, and cast to a list then add all the digits as integers
|
|
Messages In This Thread |
create a 20 digit string, and cast to a list then add all the digits as integers - by nikhilkumar - Jul-18-2017, 06:26 AM
RE: create a 20 digit string, and cast to a list then add all the digits as integers - by wavic - Jul-18-2017, 09:54 AM
RE: create a 20 digit string, and cast to a list then add all the digits as integers - by nilamo - Jul-19-2017, 04:53 PM
|