title: How to make variable/strings in a list/tuple infinite and with increasing interval in python?
body: <p>My code is:        </p>
  
  <pre><code>numberoflines = int(input())
  x = 'hi'
  y = 'hello'    
  orderofwords = [x,y,x,x,y,y,x,x,x,y,y,y]
  for n in range(rows):
      print(orderofwords[n])
  </code></pre>
  
  <p>My problem is that I have no idea on how I'm going to make the sequence of order of words infinite so that whatever number I would input, there's always an output. (I want to make an input that ranges from atleast 1-5000)                   </p>
  
  <p>Ex: input
  9<br>
  Ex: output 
  Hi
  Hello
  Hi
  Hi
  Hello
  Hello
  Hi
  Hi
  Hi</p>
  
  <p>(All outputs on seperate lines)</p>