pwd = input("请输入密码:")
print = ("原密码:",pwd)
key = input("请输入密钥:")
password = int(pwd) ^ int(key)
print("加密后:",passwrod)
print("加密后:",passwrod) 的passwrod 应写成password
print =("原密码:",pwd) 不能有等号,改为print ("原密码:",pwd)