Skip to content Skip to sidebar Skip to footer

Python 3: Attributeerror: 'int' Object Has No Attribute 'choice'

Trying to run this python 3 program but it seems it can't run past the first loop. import webbrowser import time import random while True: sites = ['www.google.com', 'www.mast

Solution 1:

I think you must have a variable called random, I mean you had override the default random module of python, change that variable name from random to something else.


Post a Comment for "Python 3: Attributeerror: 'int' Object Has No Attribute 'choice'"