Computer Science, asked by natsudragonaire777, 20 days ago

Write a function that takes a list as an argument and

interchange first half with the second half.​

Answers

Answered by llitzmisspaglill703
4

Answer:

this python tutorial, we would like to share with you the following:

Write a python program to create two lists with first half and second half elements of a given list.

Python program to create two lists with first half and second half elements of a given list using range slicing.

1: Write a python program to create two lists with first half and second half elements of a given list

Define a list.

Take input how many element in list from user.

Iterate for loop and use input() function to allow user to input element.

Append elements in list by using append() method.

Similar questions