Sum of Natural Numbers

# Introduction In this lab, you need to write a program that calculates the sum of N natural numbers by creating a function that takes an integer input and returns the sum of numbers from 1 to that input.

|60 : 00

Click the virtual machine below to start practicing