Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to join two tuples in python

#Join two tuples:
  
tuple1 = ("a", "b" , "c")
tuple2 = (1, 2, 3)

tuple3 = tuple1 + tuple2
print(tuple3)

#Output : ('a', 'b', 'c', 1, 2, 3)
 
PREVIOUS NEXT
Tagged: #join #tuples #python
ADD COMMENT
Topic
Name
9+9 =