Check Even Numbers easy
Conditional Statements

Write an R function solution(x) that returns a logical vector indicating which elements of x are even.

Example

solution(c(1, 2, 3, 4))  →  c(FALSE, TRUE, FALSE, TRUE)
solution.py
14px
📊 Test Results
Run your code to see test results here.