python字符串格式化--dict传参
2024-10-18 23:31:29
# -*- coding: utf-8 -*-
#python 27
#xiaodeng
#python字符串格式化--dict传参 print "I'm %(name)s. I'm %(age)d year old" % {'name':'Vamei', 'age':99}
#I'm Vamei. I'm 99 year old
最新文章
- 集中式vs分布式区别
- 手机移动端WEB资源整合
- interactivePopGestureRecognizer属性
- ural 2070. Interesting Numbers
- 给debian安装xfce桌面套装
- ssh 远程 centos 乱码
- iPhone的全球之旅 读书笔记
- 干货分享:让你分分钟学会 javascript 闭包
- u-boot代码学习内容
- iOS动态管理AutoLayout的约束NSLayoutConstraint
- App轮播图
- 乐在其中设计模式(C#) - 抽象工厂模式(Abstract Factory Pattern)
- Myeclipse安装jbpm6
- 开始使用ansible
- c# 多线程 创建对象实例
- 典型的NIO代码
- 【Flask】微型web框架flask大概介绍
- windows10安装JIRA
- orcale mysql基本的分页查询法
- 权限认证之OpenID-OP/RP