import re def match_url(url): match = re.match(r'^https://www', url) if match: return match.end() else: return 0 url = input() result = match_url(url) print(f"(0, {result})")
import re def match_url(url): match = re.match(r'^https://www', url) if match: return match.end() else: return 0 url = input() result = match_url(url) print(f"(0, {result})")