Question: Using python requests (1) In the variable response get the following url using requests - https://api.github.com (2) Now in the try block get the status
Using python requests
(1) In the variable response get the following url using requests - "https://api.github.com" (2) Now in the try block get the status code of the url and save it in variable a. Now get the encoding format of the url and save it in variable b. Now get the text of the url and save it in variable c.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
