Computer Science, asked by sukantisukantiswain, 5 months ago

Q.1 programme to enter a list of no. and replace 2 with all even no and 3 with all odd numbers.
Q.2 programme to enter two list of integer join and print the final list..
Q.3 programme to enter list of no. with sum positive and negative numbers count the total no. positive and negative numbers present in that list..
Q.4 programme to enter a list of no. and display the total no. of elements present in it.​

Answers

Answered by mpsm15091
0

Answer:

ans 1 This is a Python Program to put the even and odd elements in a list into two different lists.

Answered by Anonymous
1

Answer:

answer=2

1. Take in the number of elements for the first list and store it in a variable.

2. Take in the elements of the list one by one.

3. Similarly, take in the elements for the second list also.

4. Merge both the lists using the ‘+’ operator and then sort the list.

5. Display the elements in the sorted list.

6. Exit.

Similar questions