Python Taskbook Level 3.10
Given a list and a number, leave in the list only those numbers that are divisors of the given number.
Given a list of numbers, after each single-digit number, insert another one of the same kind.
Given two numbers, get a list of digits that are in both numbers.
Given a number, get a list of the positions of all 3
digits in that number, excluding the first and last.
Given a list of numbers, leave the numbers that consist of different digits and delete the rest.
Two lists are given:
lst1 = [1, 2, 3];
lst2 = [1, 2, 3, 4, 5];
Remove extra elements from the end of a larger list so that the lengths of the lists become the same.
Given a list with some numbers, for example, like this:
[123, 456, 789]
Write code that will reverse the numbers in this list using the following principle:
[321, 654, 987]