Aan de slagGa gratis aan de slag

BasicCalculator

Let's start building! As you know that the calculator will be popular, you want to make the code as efficient as you can.

You recall that the NumPy package is a powerful numerical computing library for Python. It even serves as the foundation for many other scientific computing and data analysis libraries.

You decide to use the NumPy package to create your basic calculator. Now, you need to refresh your memory of how NumPy works. numpy has been imported for you as np.

Deze oefening maakt deel uit van de cursus

Case Study: Building Software in Python

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Load the numpy package into the environment
____

# View documentation for numpy.add
____
Code bewerken en uitvoeren