Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python endswith list

'test.mp3'.endswith(('.mp3', '.avi'))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #endswith #list
ADD COMMENT
Topic
Name
1+6 =