Python Exercise #30
来源:互联网 发布:柯桥司法拍卖淘宝网 编辑:程序博客网 时间:2024/05/29 12:12
#!/usr/bin/python # exact position of python#!/usr/bin/env python # position of python in enviornment# -*- coding:utf-8 -*- # Else And Ifpeople = 30cars = 40buses = 15if cars > people: print "We should take the cars."elif cars < people: print "We should not take the cars."else: print "We can't decide."if buses > cars: print "That's too many buses."elif buses < cars: print "Maybe we could take the buses."else: print "We still can't decide."if people > buses: print "Alright, let's just take the buses."else: print "Fine, let's stay home then."
- Python Exercise #30
- python exercise
- Python Exercise #1
- Python Exercise #2
- Python Exercise #3
- Python Exercise #4
- Python Exercise #5
- Python Exercise #6
- Python Exercise #7
- Python Exercise #8
- Python Exercise #9
- Python Exercise #10
- Python Exercise #11
- Python Exercise #12
- Python Exercise #13
- Python Exercise #14
- Python Exercise #15
- Python Exercise #16
- scrollLeft,scrollTop,滚动代码的总结
- “Ping”的幕后过程
- Dom用法速查大全
- ios UIVIEW window 的组织结构
- 安卓使用http下载文件
- Python Exercise #30
- 利用win7计划任务本地执行php脚本
- 使用尺寸(dimen)资源
- [Object C]object c中完成将xml转换为json
- svn常用命令介绍[ Ubuntu ]
- Java中的异常处理机制的简单原理和应用
- hdu 1010 Tempter of the Bone
- android- 开源 可拖拽listview ,支持多种模式操作
- 基于滑动窗口的文件发送python