How to get random value of attribute of Enum on each iteration? – stackoverflow.com 10:39 Posted by Unknown No Comments I have created such Enum object: class Gender(Enum): FEMALE = 'female' MALE = 'male' RANDOM = random.choice([FEMALE, MALE]) and i want to get really random value each time, but it does ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Unknown
0 Comment to "How to get random value of attribute of Enum on each iteration? – stackoverflow.com"
Post a Comment