ubuntu2004
Kernel: Python 3 (system-wide)
Exercise 22.1
Write a function called
square()
that takes a number as an argument and returns the square of that number.Write a function called
sum_of_squares()
that takes two numbers as arguments, callssquare()
for each of them separately and returns the sum of their squares.
In [0]: