title: How to generate a list of 50 random colours in python?
body: <p>Given colour = [ "red", "blue", "green", "yellow", "purple", "orange", "white", "black" ]
  generate and print a list of 50 random colours. You will need to use the random module to get random numbers. Use range and map to generated the required amount of numbers. Then use map to translate numbers to colours. Print the result.</p>
  
  <p>This is a question i've been given and here's my code so far</p>
  
  <pre><code>colour = [ "red", "blue", "green", "yellow", "purple", "orange", "white", "black" ]
  
  number=random.randint(1,9)
  
  number.range(50)
  </code></pre>
  
  <p>i'm assuming this has made a variable that picks random numbers between 1-9, and then makes 50 of them ? i now need some way of linking the numbers to the colours.. i know this question is quite vague but if anyone could point me in the right direction, that would be awesome ! </p>