title: Print 20 prime numbers in a row
body: <p>I'm able to generate 1000 prime numbers but i'm unable to print the numbers on new rows</p>
  
  <pre><code>lower = 1
  upper = 1000
  print("The prime numbers between", lower, "and", upper, "are:")
  for num in range(lower + 1, upper + 1):
    if (num % 2) != 0 and (num % 3) != 0:
      print(num,end='')
    elif num//2 == 1:
      print(num,end='')
  </code></pre>
  
  <p>My project is to print prime numbers between 0 and 1000, but also to partition a list of 1000 prime numbers into 20 numbers per row</p>