Automate the Boring Stuff with Python
automatetheboringstuff.com › 2e › chapter2This can lead to errors such as AttributeError: module 'random' has no attribute 'randint', since your random.py doesn’t have the functions that the real random module has. Don’t use the names of any built-in Python functions either, such as print() or input(). Problems like these are uncommon, but can be tricky to solve.