title: Grok help - dictionaries
body: <p>I've started learning python (only a couple of days ago), and I'm stuck on this code </p>
  
  <pre><code># Enter your code for "Car colours" here.
  gr = 'Cars that are green: '
  si = 'Cars that are silver: '
  re = 'Cars that are red: '
  wh = 'Cars that are white: '
  bl = 'Cars that are blue: '
  print(gr, si, re, wh, bl, sep = '\n')
  inp = input('Car: ')
  while inp:
    Car = inp.split()
    line = input('Car: ')
    print(Car)
  </code></pre>
  
  <p>I have absolutely no idea where to go from here to complete code that has to give an output as follows</p>
  
  <pre><code>Car: red
  Car: white
  Car: blue
  Car: green
  Car: white
  Car: silver
  Car: 
  Cars that are green: 1
  Cars that are silver: 1
  Cars that are red: 1
  Cars that are white: 2
  Cars that are blue: 1
  </code></pre>
  
  <p>Any help would be appreciated as I'm unable to find any elsewhere. I'm doing this code for GROK.</p>
  
  <p>Thanks</p>