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
create a script to calculate the simple interest on a loan of $10000.
user
"""
function to calculate the simple interest 

input: amount - loan amount
       rate - interest rate
       years - number of years for the loan

"""

def simple_interest(amount, rate, years):
    return (amount * rate * years) / 100

if __name__ == '__main__':
    print(simple_interest(10000, 5, 4))
assistant