Create a basic web scraper in Python that takes a URL as input and returns the text content of that URL.
https://www.example.com
import requests
from bs4 import BeautifulSoup

url = 'https://www.example.com'
response = requests.get(url)
soup = BeautifulSoup(response.text, 'html.parser')

text = soup.get_text()

print(text)