input: Write a python function to extract all the text inside <p> tags from a given URL.
  assert extract_paragraphs("https://www.example.com") == ["Sample text 1", "Sample text 2", "Sample text 3"]
  assert extract_paragraphs("https://www.test.com") == ["Test text 1", "Test text 2"]
  assert extract_paragraphs("https://www.anotherexample.com") == ["Another example text"]
output: def extract_paragraphs(url):
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      
      paragraphs = []
      for p in soup.find_all('p'):
          paragraphs.append(p.get_text())
  
      return paragraphs