title: How to take specific number of input in python
body: <p>How do I take a specific number of input in python. Say, if I only want to insert 5 elements in a list then how can I do that?
  I tried to do it but couldn't figure out how.</p>
  
  <p>In the first line I want to take an integer which will be the size of the list.
  Second line will consist 5 elements separated by a space like this:</p>
  
  <p>5</p>
  
  <p>1 2 3 4 5</p>
  
  <p>Thanks in advance.</p>