• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
-------------------------------- ladaojeifang---------------------------------
******************************************************************************************************************好好学习天天向上
博客园    首页    新随笔    联系   管理    订阅  订阅
2013年3月18日
python 遍历
摘要: ##onefor letter in 'Python': print 'Current Letter : ',letter##twofruits = ['banana','apple','mange']for i in range(len(fruits)): print i ,fruits[i]l = [1,2,3,'a','c']s = (1,2,3,'b','c')d = {1:'a',2:'b',3:'c& 阅读全文
posted @ 2013-03-18 21:17 ladaojeifang 阅读(115) 评论(0) 推荐(0)
python 笔记
摘要: range(起始数,结束数,间隔)range(0,101,10)0 10 20 30 40 50 60 70 80 90 100结束数不会被返回for x in range(0,101,10): print x, 'hello world'0 hello world10 hello world20 hello world30 hello world40 hello world50 hello world60 hello world70 hello world80 hello world90 hello world100 hello world 阅读全文
posted @ 2013-03-18 18:07 ladaojeifang 阅读(144) 评论(0) 推荐(0)
英文符号
该文被密码保护。 阅读全文
posted @ 2013-03-18 10:14 ladaojeifang 阅读(1) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3