Input:
List = [1, 2, 3, 4, 5, 6]
List of list = [[0], [0, 1, 2], [0, 1], [0, 1], [0, 1, 2], [0]]
Output:
[[1], [2, 3, 4], [3, 4], [4, 5], [5, 6, 7], [6]]
Write the solution for the above in python?
Answers
Answered by
0
Answer:
a = [1, 2, 3] >>> b = [4, 5, 6] >>> c = a + b >>> print c [1, 2, 3, 4, 5, 6]. Similarly, the * operator repeats a list a given number of times: >>> [0] * 4 [0, 0, 0, 0] >>> [1, 2, ...
Answered by
0
Explanation:
Hhhghh ihhjiiughvkihgvviihh
Similar questions
Math,
2 months ago
Biology,
5 months ago
Computer Science,
10 months ago
Math,
10 months ago
Political Science,
10 months ago