• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






15823420163

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2019年12月31日

Day8: Task : Review
摘要: # String Task: v='5+6' v1,v2 = v.split('+') v1 = int(v1) v2 = int(v2) v3 = v1 + v2 print(v3) template = "{a}like to {b} at{c}" v1 = input('>>>person:' 阅读全文
posted @ 2019-12-31 14:55 Zxver-L 阅读(125) 评论(0) 推荐(0)
 
Day7:Filesprocess,Iterator and Generator
摘要: # r r+ w w+ a(add in the eend b+""" # f = open('陈粒','r',encoding='utf-8') data = f.read() print(f.readable()) print(f.writable()) print(f.readline()) 阅读全文
posted @ 2019-12-31 14:48 Zxver-L 阅读(198) 评论(0) 推荐(0)
 
Day6: Anonymous and inner functions
摘要: """ #Anonymous functions def cal(x): return x+1 res = cal(10) print(res) func = lambda x : x+1 print(func(10)) # fun = x:x+'_sb' func = lambda x,y,z: 阅读全文
posted @ 2019-12-31 14:30 Zxver-L 阅读(215) 评论(0) 推荐(0)