Topic: Mathematics Problem / Level: intermediate

Problem: Create a function to calculate the nth triangular number.

Run the code to see the output here...