Every line of 'random choice' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
33 def gen_random(): 34 return random.random()
14 def random(size): 15 return rand(*size)