Skip to main content

Addition

This example demonstrates how to perform basic addition operations in Nada. It shows a simple implementation of adding two numbers together, showcasing the fundamental arithmetic capabilities of the Nada language.

src/addition.py
loading...

Run and test the addition program

1. Open "Nada by Example"

Open in Gitpod

2. Run the program with inputs from the test file

nada run addition_test

3. Test the program with inputs from the test file against the expected_outputs from the test file

nada test addition_test