input: Write a python function to scrape data from a given URL and extract text from all div elements with the class 'data_item' using BeautifulSoup.
  assert scrape_data('http://example.com') == ['Item 1', 'Item 2', 'Item 3']
  assert scrape_data('http://test.com') == ['Test 1', 'Test 2']
output: def scrape_data(url):
      import requests
      from bs4 import BeautifulSoup
      
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      data_items = soup.find_all('div', class_='data_item')
      
      return [item.get_text(strip=True) for item in data_items]