会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Python learner
Nothing to see.
博客园
首页
新随笔
联系
订阅
管理
2017年3月4日
Python_if语句。 Learn python the hard way_扩展练习。习题29
摘要: #coding=utf-8#raw_input()函数输出的数据是"str",需要将其处理成数据,使用int()函数,将“str"转换成数据来处理students = int(raw_input("students number")) fees_per_person = 80cost = stude
阅读全文
posted @ 2017-03-04 09:48 enbu
阅读(163)
评论(0)
推荐(0)
2017年3月2日
Python--函数内部变量都是临时的,当函数返回以后,返回值可以赋予一个变量。
摘要: #coding=utf-8print "Let's practice everything."print ' You\'d need to know\'bout escapes with \\ that do \n newlines and \t tabs.' poem = """\tThe lov
阅读全文
posted @ 2017-03-02 19:04 enbu
阅读(569)
评论(0)
推荐(0)
公告