Python libraries are imported in following order:

(1) standard libraries (e.g. random)
(2) 3rd party libraries (our project doesn't use any)
(3) local libraries

Import random first, then the other guys