random codes in the python language