会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
白月如初12138
博客园
首页
新随笔
联系
订阅
管理
2020年11月17日
Python小游戏——猜数字
摘要: 1 print(" 我爱鱼 ") 2 temp = input("不妨猜一下甲鱼现在心里想的是哪个数字:") 3 guess = int(temp) 4 if guess == 8: 5 print("我擦,你是甲鱼心里的蛔虫吗?!") 6 print("哼,猜中了也没有奖励!") 7 else:
阅读全文
posted @ 2020-11-17 09:26 白月如初12138
阅读(198)
评论(0)
推荐(0)
公告