title: Matching similar items in a list from user input with Python?
body: <p>I'm very new to Python, and before anything else, I'd like to apologize if the title is not specific enough, but I don't know another way to word it. Also, apologies if this question is a duplicate. As I said, I really don't know what to look for. Anyways, here's what I want to do:</p>
  
  <p>I have a list like this: <code>names = ['william shakespeare', 'shakira', 'tom ford', 'tim ford']</code></p>
  
  <p>I want the user to be able to input a name, so I'll use <code>name = input('Enter name:')</code>, and here's where I get stuck. I want the user to be able to enter a string like <code>shak</code> and have the program display <code>1. William Shakespeare     2. Shakira</code> or maybe if the user put <code>ford</code> have the program show <code>1. Tom Ford     2. Tim Ford</code>, and if the user gets more specific, like: <code>shakespeare</code> have the program show only <code>1. William Shakespeare</code>.</p>
  
  <p>I suppose this is a Regex question, but I find Regex very confusing. I've tried watching several videos to no avail. Any type of help is appreciated. Thanks in advance!</p>