>>> str = 'jidlhdpf.jpg'
>>> str.endswith('.jpg')
True

  

endswith

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-27
  • 2021-12-12
  • 2021-12-10
  • 2021-12-11
  • 2021-05-21
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-23
  • 2022-12-23
  • 2021-09-27
  • 2021-09-22
  • 2022-12-23
  • 2021-12-10
相关资源
相似解决方案