Python From Scratch User Input not Working

#!/usr/bin/env python

import subprocess

interface = input("interface > ")
new_mac = input("new MAC > ")

print("[+] Changing MAC address for " + interface + " to " + new_mac)

subprocess.call([“sudo”, “Ifconfig”, interface, “down”])
subprocess.call([“sudo”, “Ifconfig”, interface, “hw”, “ether”, new_mac])
subprocess.call([“sudo”, “Ifconfig”, interface, “up”])

So, I’m trying to use this code but I get this error

interface > eth0

new MAC > 00:11:22:33:33:33

[+] Changing MAC address for eth0 to 00:11:22:33:33:33

sudo: Ifconfig: command not found

sudo: Ifconfig: command not found

sudo: Ifconfig: command not found

and if I take out sudo, I get this error instead

interface > eth0

new MAC > 00:11:22:33:33:33

[+] Changing MAC address for eth0 to 00:11:22:33:33:33

Traceback (most recent call last):

File “mac_changer.py”, line 20, in

subprocess.call(["sudo Ifconfig", interface, "down"])

File “/usr/lib/python2.7/subprocess.py”, line 172, in call

return Popen(*popenargs, **kwargs).wait()

File “/usr/lib/python2.7/subprocess.py”, line 394, in init

errread, errwrite)

File “/usr/lib/python2.7/subprocess.py”, line 1047, in _execute_child

raise child_exception

OSError: [Errno 2] No such file or directory

Please Help me

Nevermind. Found the issue.