3  Module1 - Day1

%load_problem square
Problem: Square

Write a function square to compute the square of a number.

>>> square(4)
16

You can verify your solution using:

%verify_problem square

# your code here

def square(a):
    return a*a
%verify_problem square
Found 2 checks
✓ verify square(2)
✓ verify square(4)
🎉 Congratulations! You have successfully solved problem square!!