1num = [1, 2, 3, 4]
2
3s = [str(i) for i in num] # Converting integers into strings
4
5result = str("".join(s)) # Join the string values into one string
6
7print(result)
1integers = [1, 2, 3]
2strings = [str(integer) for integer in integers]
3a_string = "". join(strings)
4an_integer = int(a_string)
5print(an_integer)