numerical-operations: change square to square_root

This commit is contained in:
miguel 2023-04-11 11:06:06 +01:00 committed by MSilva95
parent 7f576fc2ae
commit e675d5312c
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ Create a file `numerical_operations.py` containing the following functions:
- `subtract(a, b)`
- `multiply(a, b)`
- `power(a, b)`
- `square(a)`
- `square_root(a)`
We assume that `a` and `b` are numbers (`int` or `float`).
@ -23,7 +23,7 @@ print(numerical_operations.add(2, 2))
print(numerical_operations.subtract(10, 5))
print(numerical_operations.multiply(3, 4))
print(numerical_operations.power(3, 3))
print(numerical_operations.square(3)) # What we want is the square root of the number.
print(numerical_operations.square_root(3))
```
```bash