(s)
return s
If the string `s` (which is a link) does not begin with http or
    https, append http and return it.
If the string `s` (which is a link) does not begin with http or
    https, append http and return it.
If the string s ( which is a link ) does not begin with http or https append http and return it .
def fix_link(s):
    """
    If the string `s` (which is a link) does not begin with http or
    https, append http and return it.
    """
    if not re.match(r'^https?://', s):
        s = 'http://{0}'.format(s)
    return s
def fix_link ( s ) : if not re . match ( r'^https?://' , s ) : s = 'http://{0}' . format ( s ) return s