首页 > 编程语言 > 详细

python练习题

时间:2017-06-29 21:59:59      阅读:342      评论:0      收藏:0      [点我收藏+]

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

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

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"

                                                    

技术分享

python练习题

原文:http://ybzbfs.blog.51cto.com/12765816/1943242

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!