Write a python3 function sqr( n ) that returns the square of its numeric parameter n.
Answer:(penalty regime: 0 %)
Can you reply this question? I can't Understand this problem
CodePudding user response:
you need to create a function, which takes a number n as input and the
returns/outputs the square of that number i.e n2
for example:
sqr(2) will return/result as = 4
CodePudding user response:
def sqr(n):
return n * n
As easy as that