Mega Code Archive

 
Categories / Python / Development
 

Random string value

import random print random.choice(['A', 'B', 'C']) print random.choice(['A', 'B', 'C'])