· 7 years ago · Apr 14, 2019, 08:04 PM
1import webbrowser
2import random
3import time
4counter = 0
5
6while True:
7 sites = random.choice(['google.com', 'youtube.com', 'weather.gov', 'gmail.com'])
8 sites1 = random.choice(['google.com', 'youtube.com', 'weather.gov', 'gmail.com'])
9 sites2 = random.choice(['google.com', 'youtube.com', 'weather.gov', 'gmail.com'])
10 sites3 = random.choice(['google.com', 'youtube.com', 'weather.gov', 'gmail.com'])
11 sites4 = random.choice(['google.com', 'youtube.com', 'weather.gov', 'gmail.com'])
12 sites5 = random.choice(['google.com', 'youtube.com', 'weather.gov', 'gmail.com'])
13 sites6 = random.choice(['google.com', 'youtube.com', 'weather.gov', 'gmail.com'])
14 sites7 = random.choice(['google.com', 'youtube.com', 'weather.gov', 'gmail.com'])
15 sites8 = random.choice(['google.com', 'youtube.com', 'weather.gov', 'gmail.com'])
16 sites9 = random.choice(['google.com', 'youtube.com', 'weather.gov', 'gmail.com'])
17 sites10 = random.choice(['google.com', 'youtube.com', 'weather.gov', 'gmail.com'])
18 sites11 = random.choice(['google.com', 'youtube.com', 'weather.gov', 'gmail.com'])
19 sites12 = random.choice(['google.com', 'youtube.com', 'weather.gov', 'gmail.com'])
20 sites13 = random.choice(['google.com', 'youtube.com', 'weather.gov', 'gmail.com'])
21 sites14 = random.choice(['google.com', 'youtube.com', 'weather.gov', 'gmail.com'])
22 sites15 = random.choice(['google.com', 'youtube.com', 'weather.gov', 'gmail.com'])
23 sites16 = random.choice(['google.com', 'youtube.com', 'weather.gov', 'gmail.com'])
24 sites17 = random.choice(['google.com', 'youtube.com', 'weather.gov', 'gmail.com'])
25 visit = "http://{}".format(sites)
26 visit1 = "http://{}".format(sites1)
27 visit2 = "http://{}".format(sites2)
28 visit3 = "http://{}".format(sites3)
29 visit4 = "http://{}".format(sites4)
30 visit5 = "http://{}".format(sites5)
31 visit6 = "http://{}".format(sites6)
32 visit7 = "http://{}".format(sites7)
33 visit8 = "http://{}".format(sites8)
34 visit9 = "http://{}".format(sites9)
35 visit10 = "http://{}".format(sites10)
36 visit11 = "http://{}".format(sites11)
37 visit12 = "http://{}".format(sites12)
38 visit13 = "http://{}".format(sites13)
39 visit14 = "http://{}".format(sites14)
40 visit15 = "http://{}".format(sites15)
41 visit16 = "http://{}".format(sites16)
42 visit17 = "http://{}".format(sites17)
43 webbrowser.open(visit)
44 counter = counter + 1
45 print ("Websites Open:", counter)
46 webbrowser.open(visit1)
47 counter = counter + 1
48 print ("Websites Open:", counter)
49 webbrowser.open(visit2)
50 counter = counter + 1
51 print ("Websites Open:", counter)
52 webbrowser.open(visit3)
53 counter = counter + 1
54 print ("Websites Open:", counter)
55 webbrowser.open(visit4)
56 counter = counter + 1
57 print ("Websites Open:", counter)
58 webbrowser.open(visit5)
59 counter = counter + 1
60 print ("Websites Open:", counter)
61 webbrowser.open(visit6)
62 counter = counter + 1
63 print ("Websites Open:", counter)
64 webbrowser.open(visit7)
65 counter = counter + 1
66 print ("Websites Open:", counter)
67 webbrowser.open(visit8)
68 counter = counter + 1
69 print ("Websites Open:", counter)
70 webbrowser.open(visit9)
71 counter = counter + 1
72 print ("Websites Open:", counter)
73 webbrowser.open(visit10)
74 counter = counter + 1
75 print ("Websites Open:", counter)
76 webbrowser.open(visit11)
77 counter = counter + 1
78 print ("Websites Open:", counter)
79 webbrowser.open(visit12)
80 counter = counter + 1
81 print ("Websites Open:", counter)
82 webbrowser.open(visit13)
83 counter = counter + 1
84 print ("Websites Open:", counter)
85 webbrowser.open(visit14)
86 counter = counter + 1
87 print ("Websites Open:", counter)
88 webbrowser.open(visit15)
89 counter = counter + 1
90 print ("Websites Open:", counter)
91 webbrowser.open(visit16)
92 counter = counter + 1
93 print ("Websites Open:", counter)
94 webbrowser.open(visit17)
95 counter = counter + 1
96 print ("Websites Open:", counter)