Every line of 'random card generator' 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.
49 def create_cards(num_cards): 50 """ 51 Produces random set of cards with underlying values for 52 guess, slip, and transit. 53 """ 54 55 return [{ 56 'name': i, 57 'guess': triangular(*guess), 58 'slip': triangular(*slip), 59 'transit': triangular(*transit), 60 } for i in range(num_cards)]