PEP8: Use ''.startswith() and ''.endswith() instead of string slicing
Use ''.startswith() and ''.endswith() instead of string slicing to check for prefixes or suffixes to check for prefixes or suffixes.
Loading
Please register or sign in to comment