会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
二米sy
2019年5月23日
python while循环和for 循环
摘要: 1.while循环 age_of_sy=18 guess_age=input("guess age:") count=0 while count<3: if guess_age==age_of_sy: print("yes,you are right!") break elif guess_age<
阅读全文
posted @ 2019-05-23 10:37 二米sy
阅读(173)
评论(0)
推荐(0)
编辑
python if else 流程判断
摘要: 1.if-else 语句: uesrname="sy" age=18 -username=input("username:") -age=input("age:") if -username=username and -age=age: print("welcome in {name}".forma
阅读全文
posted @ 2019-05-23 10:01 二米sy
阅读(759)
评论(0)
推荐(0)
编辑
python 用户交互程序和格式化输出
摘要: 1.用户交互程序经常使用的是input函数: name=input("username:") password=input("password:") 2.对用户密码加密,用inport调用模块getpass: inport getpass name=input("username:") passwo
阅读全文
posted @ 2019-05-23 09:54 二米sy
阅读(162)
评论(0)
推荐(0)
编辑
公告
导航
博客园
首页
新随笔
新文章
联系
订阅
管理