# Introduction In this lab, you need to write a function called `calc_tetrahedral_number()` that takes an integer `n` as input and calculates the `n`th tetrahedral number using the formula `(n * (n + 1) * (n + 2)) / 6`, returning the result.
Click the virtual machine below to start practicing