I want to do a code that will open you 5 different tabs of rick roll. I have managed to do the opening part part, but I want 5 DIFFERENT tabs [closed]
#importing the moudles
import webbrowser
import time
x = 0
#a five times loop
while x != 5:
#the rick roll link
webbrowser.open_new_tab("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
x += 1
time.sleep
Aucun commentaire:
Enregistrer un commentaire