input: Write a python function to scrape the names of the Presidents of the United States from the Wikipedia page and return them as a list.
  assert get_presidents()[:5] == ['George Washington', 'John Adams', 'Thomas Jefferson', 'James Madison', 'James Monroe']
  assert 'Abraham Lincoln' in get_presidents()
  assert 'Barack Obama' in get_presidents()
output: def get_presidents():
      import requests
      from bs4 import BeautifulSoup
      
      url = "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States"
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      
      presidents_table = soup.find('table', {'class': 'wikitable'})
      presidents = []
      
      for row in presidents_table.find_all('tr')[1:]:
          cells = row.find_all('td')
          if cells:
              name = cells[3].get_text(strip=True)
              presidents.append(name)
      
      return presidents