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.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3644e-2b848.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3644e-2b848.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?