Square a Number easy
R Basics

Write an R function solution(x) that returns the square of its input.

Example

solution(4)  →  16
solution(-3)  →  9
solution.py
14px
📊 Test Results
Run your code to see test results here.