Run Program ❯
Python Home
❯
Run Code
Change Orientation
# Define two lists list1 = [10, 20, 30] list2 = [40, 50, 60] # Extend list1 with list2 list1.extend(list2) # Print the result print(list1)