Code Snippet For Finance In Python