python tuple and dict arg
来源:互联网 发布:解可新最优化答案 编辑:程序博客网 时间:2024/06/05 00:26
def message(text,*line ,**head):
for key in head.keys():
print key+":"+head[key];
print
print text
for item in line:
print item;
for key in head.keys():
print key+":"+head[key];
print text
for item in line:
print item;
message('this is text','first line','second line',subject='lunch',to='jack@163.com',sender='one@163.com')
output:
to:jack@163.com
sender:one @163.com
subject:lunch
this is text
first line
second line
- python tuple and dict arg
- 【python】-list,tuple,dict
- Python:list,tuple,dict
- [Python]list, tuple,dict
- Python----list,dict,tuple
- python 基础知识 dict list tuple
- Python List 、 tuple和dict
- Python list、tuple、dict区别
- python list tuple dict set
- Python list、tuple、dict区别
- Python--list,tuple,dict,set.
- python 中list dict tuple的比较
- Python中list、tuple、dict区别
- Python中list、tuple、dict区别
- Python中list、tuple、dict 区别
- Python中list、tuple、dict区别
- Python 自学 daily---模块/list/tuple/dict
- Python - list, tuple, dict, set的区别
- 黑马程序员—JAVA枚举
- C# winform 清除由GDI绘制出来的所有线条或图形
- C#中的delegate
- VB基础总结
- ecshop批量打印快递单 ecshop订单批量打印免费下载安装
- python tuple and dict arg
- VB内部控件与全局对象
- Kinect的三维重建
- 黑马程序员—JAVA反射特点
- Java调用dll、不是难事
- 黑马程序员—JAVA内省
- 内核编译问题和处理
- 黑马程序员—JAVA注解
- 黑马程序员—JAVA泛型