🌈 搜索
📅  最后修改于: 2022-03-11 14:45:28.904000             🧑  作者: Mango
# Assuming m is a string, you can use endswith: if m.endswith('.mp3'): ... elif m.endswith('.flac'): ...