Question
Write a function to calculate the length of the given list?
Login to Submit
Examples
Input: [1, 2] Output: 2 Input: [1, 2, 3] Output: 3