Random Choice : Random : Development PYTHON examples


PYTHON examples » Development » Random »

 

Random Choice


Random Choice
 

import random
print random.choice(['apple', 'pear', 'banana'])





           
         
  



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Development
» Random