发布时间:2019-09-13 09:28:57编辑:auto阅读(1877)
#!/usr/bin/python3
user='whoooo'
password="1234567"
name=input("请输入用户名:")
namepasswd=input("请输入密码:")
count1=1
count2=1
while name!=user :
print("careful ,you can only input 3 times,you have already iput ",count1,"times")
if count1<3:
name=input("请输入用户名:")
count1=count1+1
else:
print("you have already input 3 times,you have been permissed")
break
else:
while namepasswd!=password :
print("careful ,you can only input 3 times,you have already iput ",count2,"times")
if count2<3:
namepasswd=input("请输入密码:")
count2=count2+1
else:
print("you have already input 3 times,you have been permissed")
break
else:
print("welcome to mange your system")
上一篇: gns3如何保存配置
下一篇: 思科OSPF的LSA的3类5类汇总小实验
47848
46401
37285
34737
29318
25975
24918
19954
19549
18031
5795°
6419°
5932°
5964°
7070°
5917°
5948°
6441°
6405°
7782°