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')

  

最新文章

  1. Excel 取得一定范围内最大的有值的行号
  2. 在windows7下安装CentOS
  3. UVA 489 Hangman Judge (字符匹配)
  4. matlab search path
  5. php.ini配置
  6. C# 中4个访问符和8个修饰符详解
  7. ArrayList和LinkedList的各项操作性能比较
  8. How do I Find Out Linux CPU Utilization?
  9. springMVC框架中json处理
  10. 【NOIP2012-开车旅行】
  11. Xcode 打包(Shell)
  12. R语言统计学习-1简介
  13. Find K Closest Elements
  14. http和https区别及概念
  15. #218 Iterate with JavaScript For Loops
  16. [Hive_add_1] Hive 与 MR 的对应关系
  17. PropertyChangeSupport 监听器模式的应用
  18. C++基础笔记(string截取)
  19. 学习Angularjs向数据库添加数据
  20. day8 大纲

热门文章

  1. hdu6070(分数规划/二分+线段树区间更新,区间最值)
  2. poj2763(lca / RMQ + 线段树)
  3. 洛谷P1360 [USACO07MAR]黄金阵容均衡Gold Balanced L…
  4. IDEA开发Spark的漫漫摸索(二)
  5. kubectl 命令
  6. springboot 简单自定义starter - dubbo
  7. sublime text的一些插件
  8. POJ1024 Tester Program
  9. c# Equals对比忽略大小写
  10. 使用命令行+代理更新Android SDK