title: how is it possible to modify the given output in python
body: <p>I have been working on a code for practicing purpose in python which is:</p>
  
  <pre><code>     if information is not None:
  
  
                          option = information.attrib.get("option_select")
                          increment(operatormap,presenter)
  
                          if "OPT" in option:
  
                              z = option.split('.')
                              if z:
                                  print(z[-1])
  </code></pre>
  
  <p>which gives an output like this:</p>
  
  <pre><code>2
  1
  1
  3
  4
  4
  </code></pre>
  
  <p>im trying to modify and divide the output into two types which is something like:</p>
  
  <pre><code>not 1
  1
  1
  not 1
  not 1
  not 1
  </code></pre>
  
  <p>how is it possible? can anyone help me with this?</p>