title: For every 10th in a array.count(1)
body: <p>So I got a array of die rolls 1 to 6.</p>
  
  <p>So I count the times 1 runs in the array with .count, but I also have to print something for every time that count passes a 10. So if I roll 100 times and I get 23 rolls of 1, I want it to show a * for each 10 in it.</p>
  
  <p>The code so far is:</p>
  
  <pre><code>import random
  
  die_rolls = []
  
  maxsize = int(input("What is the maximum die rolls: ")) + 1
  
  for num in range(1,maxsize):
      die_random = random.randint (1,6)
      die_rolls.append(die_random)
  
  print(str(maxsize-1) + " total rolls.")
  percent_one = die_rolls.count(1) / maxsize *100
  
  print("1: " + "[" + str(die_rolls.count(1)) + " |", "{:.1f}".format(percent_one) + "%]")
  
  total=sum(die_rolls)
  print(total)
  </code></pre>
  
  <p>and I get:</p>
  
  <pre><code>What is the maximum die rolls: 100
  100 total rolls.
  1: [21 | 20.8%]
  329
  </code></pre>
  
  <p>I need it to look like:</p>
  
  <pre><code>What is the maximum die rolls: 100
  100 total rolls.
  1: ** [21 | 20.8%]
  329
  </code></pre>