old_contents: def find_prime(num):
      l = [2]
      i = 3
      while i < num:
          print i
          for j in xrange(2, i):
              if i % j == 0:
                  break
          else:
              l.append(i)
          i += 2
      return l
  
  if __name__ == '__main__':
      print find_prime(10)
  
new_contents: def find_prime(num):
      l = [2]
      count = 1
      i = 3
      while count != num:
          print i
          for j in xrange(2, i):
              if i % j == 0:
                  break
          else:
              l.append(i)
              count += 1
          i += 2
      return l
  
  if __name__ == '__main__':
      print find_prime(10001)
  
subject: solve problem 7