in my code (below) im looking to stop using long list of if statements to randomly select a phrase, how would i use an array to accomplish the same task?
link to code

nevermind, google once agian is my friend, thanx anyway.

What did you select?
Something like random.choice()?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.