title: Python SyntaxError: invalid syntax elif statement
body: <p>So I am pretty new to python, I am familiar with Java, C and Ruby.</p>
  
  <p>I tried compiling a script for Kali to fix the RFkill issue for wifi devices since Kali does not have an RFKill.</p>
  
  <pre><code>#!/usr/bin/python
  # replacement for rfkill util, which is missing in kali
  # By: Geist
  
  from sys import argv
  
  if(argv[1] == "unblock"):
      x = open("/sys/class/rfkill/rfkill%s/soft" % argv[2], "w")
  x.seek(0)
  x.write('0')
  
  elif(argv[1] == "block"):
      x = open("/sys/class/rfkill/rfkill%s/soft" % argv[2], "w")
  x.seek(0)
  x.write('1')
  
  
  print("interface %s %sed" % (argv[2], argv[1]))
  </code></pre>
  
  <p>I did not write this but I am trying to run it and I keep getting a SyntaxError: invalid syntax under elif(argv[1] == "block"):</p>
  
  <p>I am assuming this has something to do with improper indentation, if anyone could be as kind to let me know what I am doing wrong and why that would be great! </p>