python练习题

2020-01-10 11:27:29 浏览数 (1)

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

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

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"

0 人点赞