pnew to python and I am playing around with lists within tuples. I want to delete just the password not the Username, and update the password after the password has been deleted, however i tested the code to find out that it deletes the whole tuple and list within the tuple, then it gives me IndexError: list index out of range....any help would be appreciated.

```
Users=[("Jim","password1"),("Bob","password2"),("Helen","password3"),("Beverly","blue")]

def changePassword():
    a=raw_input("Enter old password to continue:\n")

    for i in range(len(Users)):
        c,d=Users[i]
        if a==d:
            Users.remove(Users[i])
            print "Password deleted"
            print Users
    if a!=d:
        print"Incorrect"
        changePassword()
    a=raw_input("Enter new password:\n")
    for i in range(len(Users)):
        c,d=Users[i]
    if a==d:
        Users.append(Users[i])
        changePassword()

```