python read requests response

import requests
response = requests.get('https://www.google.com')
print( response.status_code )
print( response._content )

Here is what the above code is Doing:
1. We’re using the requests library to make a GET request to Google.
2. We’re printing the response’s status code.
3. We’re printing the response’s content.