Course Solutions Uncategorized (Solved) : Import Requests Numrequest 10 Responses Requestsget Http Examplecom Rang Numrequests Pytho Q38188709 . . . .

(Solved) : Import Requests Numrequest 10 Responses Requestsget Http Examplecom Rang Numrequests Pytho Q38188709 . . . .

 

import requests

num_request = 10
responses = [
requests.get (‘ http:/example.com’)
for i in rang (num_requests)]

is this python code right? for sending 10 requests to thespecified URL at once ! not one after the other

Expert Answer


An answer will be send to you shortly. . . . .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post