title: How to find key by its first letters and print key and value
body: <p>I have dictionary that updates by users input (first while). I want to print all key + value from dictionary starting with letter(letters) that user enters in second input. How i can do that?</p>
  
  <pre><code>r = {}
  while (True):
      print('Enter key (empty enter - exit)')
      k = input()
      if k == '':
          break
      print('Enter value')
      v = input()
      r[k] = v
  print(r)
  
  s = input('Key: ')
  while s != '':
      print(s, r.get(s.lower()))
      s = input('new try: ')
  </code></pre>
  
  <p>Now i only get key and value if user enters whole key
  But i want to print all keys that are located in dictionary starting with users input</p>