
You can see the first time the first request we are sending is API v1 and the order id is 10 that says 404 not found. We change the order ID to 8. It again says 404 not found. We change the order ID to 7. It again says 40 44 not found because these order ids may or may not exist. But we don't know that yet. So you can see the pattern here. We have to change the order ID every time we need to send a request. But this is not feasible. If you want to send if you want to enumerate order ids from let's say one from a thousand we can't go on and type uh and call this function every
time that will take way too long. So to overcome that problem we can simply use a for loop inside the console. The for loop the example for loop here starts from 1 and it goes to 10. So we are just uh checking if there are any orders from 1 to 10.