<human>:  Give me a Python function to get domain from url netloc.
<bot>:

# Enter the url
url = "https://www.google.com"

# Calling the function
print((get_domain(url)))

#Example Output
# https

#Remember to inspect code for bugs.