def sanitize_url(address):
 if (address.startswith('http://') or address.startswith('https://')):
  return address
 else:
  return 'http://{}'.format(address)

def sanitize_url ( address ) : if ( address . startswith ( 'http://' ) or address . startswith ( 'https://' ) ) : return address else : return 'http://{}' . format ( address )
return copy of url with password removed .