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
give an example of a syntax error in python.
user
syntax errors can occur if incorrect syntax is used, such as forgetting a colon at the end of a loop statement. for example:

for i in range(10)
    print(i) # missing a colon after the loop statement.
assistant