摘要: 练习: 如果账号密码匹配,返回success,不匹配返回fail。 account="nautilus" password=123456 print("please input your user name:") user_account =str(input()) print("please in 阅读全文
posted @ 2017-12-27 15:53 nautilus3 阅读(158) 评论(0) 推荐(0)
摘要: python保留字 保留字即关键字,我们不能把它们用作任何标识符名称。Python 的标准库提供了一个 keyword 模块,可以输出当前版本的所有关键字: >>> import keyword>>> keyword.kwlist['False', 'None', 'True', 'and', 'a 阅读全文
posted @ 2017-12-01 14:38 nautilus3 阅读(234) 评论(0) 推荐(0)