python_10_for guess
2024-09-08 00:45:50
age_of_oldboy=56
count=0
for count in range(3):
guess_age=int(input('guess age:'))
if guess_age==age_of_oldboy:
print('yes,you got it.')
break#结束整个循环
elif guess_age>age_of_oldboy:
print('think smaller...')
else:
print("think bigger!")
else:
print('you have tried too many times,fuck off')
最新文章
- Excel 取得一定范围内最大的有值的行号
- 在windows7下安装CentOS
- UVA 489 Hangman Judge (字符匹配)
- matlab search path
- php.ini配置
- C# 中4个访问符和8个修饰符详解
- ArrayList和LinkedList的各项操作性能比较
- How do I Find Out Linux CPU Utilization?
- springMVC框架中json处理
- 【NOIP2012-开车旅行】
- Xcode 打包(Shell)
- R语言统计学习-1简介
- Find K Closest Elements
- http和https区别及概念
- #218 Iterate with JavaScript For Loops
- [Hive_add_1] Hive 与 MR 的对应关系
- PropertyChangeSupport 监听器模式的应用
- C++基础笔记(string截取)
- 学习Angularjs向数据库添加数据
- day8 大纲
热门文章
- hdu6070(分数规划/二分+线段树区间更新,区间最值)
- poj2763(lca / RMQ + 线段树)
- 洛谷P1360 [USACO07MAR]黄金阵容均衡Gold Balanced L…
- IDEA开发Spark的漫漫摸索(二)
- kubectl 命令
- springboot 简单自定义starter - dubbo
- sublime text的一些插件
- POJ1024 Tester Program
- c# Equals对比忽略大小写
- 使用命令行+代理更新Android SDK