reading-notes

In Class Random Example Code

The above code did run but there is a circular import error. It was looking locally and trying to import itself (line 3 ‘random’ was also the name of the file random.py)

In this case we are trying to import the library ‘random’ in order to activate the ‘choice’ command/function

What’s the order? local, built ins (look up MRO for more information)

Review Link List from Day 5 (code)