Import random in both python and python3