摘要: # -*- coding:utf-8 -*-# Author:DliYaofor i in range(0,10,3): print("奇数",i)for i in range(0,10,2): print("偶数",i)运行结果 阅读全文
posted @ 2019-04-14 19:48 dengliyao 阅读(1491) 评论(0) 推荐(0) 编辑
摘要: # -*- coding:utf-8 -*-# Author:DliYao#编写登陆接品#输入用户名密码#认证成功后显示欢迎信息username = "dengliyao"password = "dly123"count = 0while count < 3: new_username = inpu 阅读全文
posted @ 2019-04-14 16:23 dengliyao 阅读(207) 评论(0) 推荐(0) 编辑
摘要: # -*- coding:utf-8 -*-# Author:DliYaousernam = input("username: ")password = input("password: ")print(usernam,password)#input 用户输入 #input为交互式用户输入name = input("name: ")age = input("age: ")job = input... 阅读全文
posted @ 2019-04-14 15:16 dengliyao 阅读(474) 评论(0) 推荐(0) 编辑
摘要: #导入模板 阅读全文
posted @ 2019-04-14 14:57 dengliyao 阅读(450) 评论(0) 推荐(0) 编辑
摘要: # -*- coding:utf-8 -*-# Author:DliYaoimport getpass'''_username = "dengliyao"_password = "dly"username = input("username: ")#password = getpass.getpas 阅读全文
posted @ 2019-04-14 14:52 dengliyao 阅读(180) 评论(0) 推荐(0) 编辑