Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Combine integer in list

l1 = [2,4,3]
l2 = [5,6,4]
str1=[str(i) for i in l1]
lst1=''.join(str1)
str2=[str(j) for j in l2]
lst2=''.join(str2)
sum_of_int = int(lst1)+int(lst2)
sum_of_int
Source by colab.research.google.com #
 
PREVIOUS NEXT
Tagged: #Combine #integer #list
ADD COMMENT
Topic
Name
4+6 =