I would like the program to execute a command three times: wait 10 seconds to open a web page. For this to occur, set the following code:
import time
import webbrowser
total_breaks = 3
break_count = 0
while(break_count < total_breaks):
time.sleep(10)
webbrowser.open("https://www.youtube.com/watch?v=zywDiFdxopU")
webbrowser.open("https://www.youtube.com/watch?v=QwOU3bnuU0k")
webbrowser.open("https://www.youtube.com/watch?v=b2WzocbSd2w")
break_count = break_count + 1
But it turns out that the pages are opened at the same time. I would like the first time he opens the page a and the second time he opens the page b and the third time he opens the page c. How do I instead of opening the program to all web pages, it opens a page each time the program is run?