Given arrays A and B are: A: 50, 35, 20, 14, 6 B: 20, 6, 4, 3Write an algorithm such that we get a final array C as follows: C: 50, 35 20, 20, 14, 6, 6, 4, 3Apply same algorithm on given arrays A and B to get C
Answers
Answered by
0
Answer:
A=[50,35,20,14,6]
B=[20,6,4,3]
C=A+B
C.sort()
C.reverse()
print(C)
Answered by
0
Answer:
A=[50,35,20,14,6]
B=[20,6,4,3]
C=A+B
C.sort()
C.reverse()
print(C)
Explanation:
Similar questions