title: How can I write a function that doesn't print out uppercase words from the list?
body: <p>I've a list [&quot;ABC&quot;, &quot;JAVA&quot;, &quot;Python&quot;, &quot;user&quot;, &quot;CODE&quot;] and I want the functions print out [&quot;Python&quot;, &quot;user&quot;].</p>
  <p>Here is my progress so far:</p>
  <pre><code>def no_upper(my_list : list):
      new_list = my_list
      for word in my_list:
          if word.isupper():
              my_list.remove(word)
          return new_list
  if __name__ == &quot;__main__&quot;:
      my_list = [&quot;ABC&quot;, &quot;JAVA&quot;, &quot;Python&quot;, &quot;user&quot;, &quot;CODE&quot;]
      new_list = no_upper(my_list)
      print(new_list)   
  
   
  </code></pre>