python练习题

2023-01-31 02:01:01 python 练习题

#################

############

userername = raw_input("USERNAME:")

passWord = raw_input("PASSWORD:")

if username == "user" and password == "123":

  print "welcome"

  break

elif username != "user" and password != "123":

  print "username and password mistakes"

elife username == "user" and password != "123":

  print "password mistakes"

elife username != "user" and password == "123":

  print "username mistakes"

                                                    

wKiom1lU1J-AHmIWAAFJu7CiemI857.png

相关文章