lt = [
{'name':'小王', 'age':18, 'info':[('phone', '123'), ('dizhi', '广州')]},
{'name':'小芳', 'age':19, 'info':[('phone', '789'), ('dizhi', '深圳')]},
{'name':'小杜', 'age':22, 'info':[('phone', '567'), ('dizhi', '北京')]},
{'name':'小孟', 'age':28, 'info':[('phone', '000'), ('dizhi', '上海')]},
{'name':'小乔', 'age':26, 'info':[('phone', '111'), ('dizhi', '河南')]},
]

i = len(lt)
for b in range(i):
print('我叫{},今年{}岁,家住{},电话{}'.format(lt[b].get("name"), lt[b].get("age"), lt[b].get("info")[1][1],lt[b].get("info")[0][1]) )

最新文章

  1. MyCAT日志分析
  2. RedHat Linux RHEL6配置本地YUM源
  3. ios下fixed回复框bug的解决方案
  4. dynamic 的使用 待续
  5. 15天玩转redis —— 第四篇 哈希对象类型
  6. C# Redis使用之StackExchange
  7. native2ascii 国际资源文件编码
  8. 如何使用TestFlight进行Beta测试
  9. php 安装 sphinx
  10. Linux基础01 学会使用命令帮助
  11. unity基本操作二
  12. MAC下《暗黑世界》客户端版本编译说明!!
  13. 查看本机上的端口使用情况netstat -an
  14. cuda8.0环境下安装py-faster-rcnn问题总结
  15. 六、Spring Boot Controller使用
  16. 普通程序员如何转向AI方向(转)
  17. js常见的面试题
  18. 远程执行shell脚本的小技巧
  19. TensorFlow升级1.4:Cannot remove entries from nonexistent file \lib\site-pack
  20. table边框

热门文章

  1. centos6.5下编译安装FFmpeg
  2. 继续折腾LNK 2005错误
  3. linux flushing file system caches
  4. U盘装CentOS6.4
  5. 搭建基于Express框架运行环境
  6. linux服务器安装nginx及使用
  7. 理解golang中的function types
  8. BZOJ1202: [HNOI2005]狡猾的商人(带权并查集)
  9. nuxt.config有关router配置
  10. jQuery-laye插件实现 弹框编辑,异步验证,form验证提交