第二天了,还是代码少的可怜。
不过也阻挡不住我学python的兴趣!!
#!/usr/bin/env python
# -*- coding:utf8 -*-
#永远等待用户输入
"""
n1 = input ('Name Server: ')
n2 = input ('Password: ')
print (n1)
print (n2)
"""
if 1 == 1:
print ("欢迎来到阿坤接待所")
print ("welconme to beijing")
print ('end')
if 1 == 1:
if 2 == 2:
print ("hello")
print ("hi")
else:
print ("how are you?")
else:
print ("input password: ")
inp = input ('请输入: ')
if inp == "阿坤":
print ("OK")
elif inp == "鑫坤"
print ("This is OK")
elif inp == "Mr.Wang"
print ("vary good!")
else:
print ("滚吧")
print ('你很棒!')