I want to write letters randomly, not numbers If it's APPLE, BLUE, APPLE BLUE BLUE BLUE APPLE APPLE BLUE APPLE I want to do it randomly like this, can anyone teach me?
python
import random
Candidate = ["Banana", "Apple"]
for _ in range(5):
choice = random.choice(candidate)
print(choice)
© 2024 OneMinuteCode. All rights reserved.