title: Is there a way to print a variable x times depending on what number the user wrote in the input to decide x? [Python 3.8]
body: <p>I'm making a random name generator using the <code>random</code> module. I'm using the most popular first female and male names along with popular last names to generate two names, one male, and one female:</p>
  <pre><code>firstnames = ['Liam', 'Noah', 'William', 'Oliver', 'Benjamin', 'Elijah', 'Lucas', 'Mason', 'Logan']
  lastnames = ['Smith', 'Johnson', 'Williams', 'Jones', 'Garcia', 'Miller', 'Davis', 'Wilson', 'Martinez']
  print(random.choice(firstnames) + &quot; &quot; + random.choice(lastnames))
  
  firstfemnames = ['Emma','Olivia','Ava', 'Isabella', 'Sophia', 'Charlotte', 'Mia', 'Amelia', 'Harper', 'Evelyn']
  lastfemnames = ['Smith', 'Johnson', 'Williams', 'Jones', 'Garcia', 'Miller', 'Davis', 'Wilson', 'Martinez']
  print(random.choice(firstfemnames) + &quot; &quot; + random.choice(lastfemnames))
  </code></pre>
  <p>So the output, after being printed, would give two random names like this:</p>
  <pre><code>Noah Jones
  Evelyn Smith
  </code></pre>
  <p>I want to make an input for how many other random names they want after those two are printed; for example, if you make an input after printing the first two random names [Noah Jones and Evelyn Smith], I want to make an input for numbers, so if you input 2, another two random names are printed. How do I do this?</p>