fork download
  1. list1 = [1, 2, 3]
  2. list2 = [4, 5, 6]
  3.  
  4. joined_list = list1 + list2
  5. print("Joined using + operator:", joined_list)
  6. # Output: [1, 2, 3, 4, 5, 6]
  7.  
Success #stdin #stdout 0.02s 9540KB
stdin
Standard input is empty
stdout
Joined using + operator: [1, 2, 3, 4, 5, 6]