<human>:  how to remove parth of the url.
<bot>:

# Enter the url
url = 'https://www.google.com/maps/place/
Rosey,+Michigan/@42.500000,-84.416667/z/1000000.0m/e?hl=en-US&gl=us'

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

#Example Output
# e?hl=en-US&gl=us

#Remember to inspect code for bugs.