Topic: Mathematics Problem / Level: beginner

Problem: Implement a function to calculate the sum of natural numbers up to n.

Run the code to see the output here...