#!/usr/bin/env python# -*- coding:utf-8 -*-# Author:Andy Chen _username = ‘alex‘_password = ‘abc123‘username = raw_input("username:")#password = getpass.getpass("password:")password = raw_input("password:") if _username == username and _password == password: print"你成功登陆"else: print"你输入的用户无效"
时间: 2024-10-01 02:35:02