AMAZON AT CHITKARA UNIVERSITY
Monday, 7 October: Amazon one of the world's largest trading company visited Chitkara University Baddi for Campus Placements.
Blog On Technical to Cinema World, Study Materials to Indian Economy, Articles To Recent News. Everything you Want To Read.
def merge(L): merged = [] for i in range(0, len(L), 3): merged.append(L[i] + L[i + 1] + L[i + 2]) return merged print(merge([1, 2, 3, 4, 5, 6, 7, 8, 9]))What is printed by the code above?
Your Answer | Score | Explanation | |
---|---|---|---|
[123, 456, 789] | |||
[1, 4, 7] | |||
[6, 15, 24] | Correct | 1.00 | |
[12, 15, 18] | |||
Total | 1.00 / 1.00 |