Length of a Vector easy
R Basics

Write an R function solution(x) that returns the number of elements in the vector x.

Example

solution(c(4, 5, 6))  →  3
solution.py
14px
📊 Test Results
Run your code to see test results here.