Requests is not a built-in Python library and does not come with Python. While often mistaken for a standard Python library, it is a third-party package available on PyPI, so you must install it before importing it.
Install requests with pip:
python -m pip install requests
Requests currently requires Python 3.10 or newer.
You can then import it and send an HTTP request:
import requests
response = requests.get(
"https://www.scrapingbee.com/",
timeout=10,
)
print(response.status_code)
This will give the output:

You can learn more about this library on the official website or GitHub page.