How to use python to visit 2 URLs for 5 times

how do I use python to cycle through 2 URLs for 5 times?
visit a first, then b, loop 5 times.

Mar.16,2021

import requests


for i in range(5):
    requests.get(url_a)
    requests.get(url_b)

it goes something like this. With the library requests, as long as you make sure that the accessed operation is Synchronize, it can be executed sequentially.

Menu