You can use a (+) operator to add two different lists in python. But you can’t add two different lists this way. Because lists are objects, we can call methods on a list. One method, .
append() takes a single parameter and adds it to the end of a list.
You tried to slicing the list but the number is an integer here not a list. You may try:
number = [1,2,3,4,5,6]
number1 = nnumber[2:]+number[3:]