2018年9月3日

006_for

摘要: #!/usr/bin/env python# Author:liujunfor i in range(1,10): if i==5: continue if i==8: break print("dddd ", i)for i in range(1,10): for j in range(1,10) 阅读全文

posted @ 2018-09-03 14:35 langjitianyadaolao 阅读(66) 评论(0) 推荐(0) 编辑

005_while

摘要: #!/usr/bin/env python# Author:liujunage=56count=0while count < 3: guessage = int(input("guess age:")) #Data type conversion is needed. if guessage == 阅读全文

posted @ 2018-09-03 14:34 langjitianyadaolao 阅读(103) 评论(0) 推荐(0) 编辑

004_if_else

摘要: #!/usr/bin/env python# Author:liujunage=56guessage = int(input("guess age:")) #Data type conversion is needed here.if guessage == age: print("yes you 阅读全文

posted @ 2018-09-03 14:33 langjitianyadaolao 阅读(89) 评论(0) 推荐(0) 编辑

003_if_else

摘要: #!/usr/bin/env python# Author:liujun_username="liujun"_passwd="123456"username = input("username:")password = input("password:")if _username==username 阅读全文

posted @ 2018-09-03 14:31 langjitianyadaolao 阅读(99) 评论(0) 推荐(0) 编辑

002_how to use getpass

摘要: #!/usr/bin/env python# Author:liujunimport getpassusername = input("username:")#password = input("password:")password=getpass.getpass("password:")prin 阅读全文

posted @ 2018-09-03 14:28 langjitianyadaolao 阅读(68) 评论(0) 推荐(0) 编辑

导航