@@ -0,0 +1,707 @@
+import re%0A%0A%0Adef indian_phone_validator(phone: str) -%3E bool:%0A    %22%22%22%0A    Determine whether the string is a valid phone number or not%0A    :param phone:%0A    :return: Boolean%0A    %3E%3E%3E indian_phone_validator(%22+91123456789%22)%0A    False%0A    %3E%3E%3E indian_phone_validator(%22+919876543210%22)%0A    True%0A    %3E%3E%3E indian_phone_validator(%2201234567896%22)%0A    False%0A    %3E%3E%3E indian_phone_validator(%22919876543218%22)%0A    True%0A    %3E%3E%3E indian_phone_validator(%22+91-1234567899%22)%0A    False%0A    %22%22%22%0A    pat = re.compile(r%22%5E(%5C+91%5B%5C-%5Cs%5D?)?%5B0%5D?(91)?%5B789%5D%5Cd%7B9%7D$%22)%0A    match = re.search(pat, phone)%0A    if match:%0A        return match.string == phone%0A    return False%0A%0A%0Aif __name__ == %22__main__%22:%0A    print(indian_phone_validator(%22+918827897895%22))%0A

add phone_validator method (#4552)