Generate a Python function to calculate the sum of the first 100 positive natural numbers
Not applicable
def sum_first_100_natural_numbers():
 total = 0
 for i in range(1,101):
 total += i
 return total

# example
print(sum_first_100_natural_numbers()) # output: 5050