human
Give me a Python program to use session to access other urls from the same page.
assistant
Here is a Python program to use session to access other urls from the same page

import requests

def get_other_urls(url):
    """Get other urls from same page"""
    session = requests.Session()
    response = session.get(url)
    return response.url

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

# Calling the function
other_url = get_other_urls(url)

# Printing the other url
print(other_url)

#Example Output
# https://www.google.com/

#Remember to inspect code for bugs.