Oct-23-2020, 03:44 PM
I'd do it a bit differently, based more around code like this
import random options = list() options.append('First entry') options.append('Second entry') options.append('third entry') options.append('fourth entry') print(options[random.randint(0,len(options)-1)])That does not limit you to 26 choices, and would be more maintainable.