(domain)
return domain
Strip www. from beginning of domain names.

    Args:
        domain: string with a full domain, eg. www.google.com

    Returns:
        string: Domain without any www, eg: google.com
Strip www. from beginning of domain names.
Strip www . from beginning of domain names .
def strip_www_from_domain(domain):
    """Strip www. from beginning of domain names.

    Args:
        domain: string with a full domain, eg. www.google.com

    Returns:
        string: Domain without any www, eg: google.com
    """
    if domain.startswith('www.'):
        return domain[4:]
    return domain
def strip_www_from_domain ( domain ) : if domain . startswith ( 'www.' ) : return domain [ 4 : ] return domain