Python code. Codes involve pseudorandom generators.