human
Check if string ends with one of the strings from a list
assistant
Here is some code to check if string `test.mp3` ends with one of the strings from a tuple `('.mp3', '.avi')`

"""test.mp3""".endswith(('.mp3', '.avi'))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.