Feb-05-2020, 09:35 PM
(This post was last modified: Feb-05-2020, 09:43 PM by Gribouillis.)
julio2000 Wrote:My script refreshes the website and checks if the sneakers are in stock, it repeats this for as long as possibleThis task does not normally need a high level of recursion. It means that you are repeating the task by the means of recursion instead of repeating it by an infinite loop. The structure of the program should be
while True: refresh_the_website() check_if_the_sneakers_are_in_stock()None of these functions should call itself, directly or indirectly.