as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
generate a python program to print the sum of first 25 natural numbers
user
sum = 0
for i in range(1,26):
  sum = sum + i

print("the sum of the first 25 natural numbers is:", sum)
assistant