效果 代码 password = int ( input ()) key = 7 print ( "\n原密码:" , password ) password = key print ( "\n加密后:" , password ) password = key print ( "\n解密后:" , password )
效果
代码
password=int(input())key=7
print("\n原密码:",password)
password<<=key
print("\n加密后:",password)
password>>=key
print("\n解密后:",password)