标签:and 成功 内容 登录 print 运算符 put rom 用户
# from __future__import division
# v = 9/2
# print(v)
# n = 9
# new_num = n + 1 #new_num += 1
# print(new_num)
# usr = input("请输入用户名:")
# pa_word = input("请输入密码:")
# if usr =="alx" and pa_word =="666":
# print("登录成功")
# else:
# print("登录失败")
#检索
word = input("请小心输入内容:")
if "习大大" in word or "老蒋" in word:
print("输入正确")
word = input("请小心输入内容:")
if "习大大" in word:
print("请重新输入")
elif "老蒋" in word:
print("请重新输入")
else:
print(word)
标签:and 成功 内容 登录 print 运算符 put rom 用户
原文地址:https://www.cnblogs.com/simly/p/9234870.html