title: Python error cannot delete function call
body: <p>In python I tried calling a function in a function - when I finished it says "error cannot delete function call". Why is this happening? Inside the nested function there is a delete used, but that is for a different variable! I tried a few things like printing the function instead but got the same answer.</p>
  
  <p>Here is the code which isn't working:</p>
  
  <pre><code>def BracketStart():
      Round2Normal=[] 
      Round1Loser=[]
      if len(List) % 2 == 0: 
          print("The Current Match Is %s VS %s" %(min(List),max(List)))
      starting=input("Start Match? --&gt; ") 
      if starting=="Yes":
          Winner1=input("Who Won? --&gt; ") 
          if Winner1==min(List): 
              Round2Normal.append(min(List)) 
              Round1Loser.append(max(List)) 
              del min(List)
              del max(List)
  </code></pre>