input: Write a function to fetch and print the text content of all div elements with class 'post-content' from a given URL.
  assert fetch_post_contents('https://www.example.com') == ['Content 1', 'Content 2', 'Content 3']
  assert fetch_post_contents('https://www.anotherexample.com') == ['Post A', 'Post B']
  assert fetch_post_contents('https://www.yetanotherexample.com') == ['Text X', 'Text Y', 'Text Z']
output: def fetch_post_contents(url):
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      divs = soup.find_all('div', class_='post-content')
      
      return [div.get_text(strip=True) for div in divs]