0
import random

alphabet = ["R","G","B","Y"]
random.shuffle(alphabet)

code = alphabet[0:3]

this is my code and when I print "code" It returns something like this ['B','G','R']. I want to make it so that it only displays BGR for example.

Sayse
  • 42,633
  • 14
  • 77
  • 146

0 Answers0