#!/usr/bin/python

 def hello(i,greet='long time to see!'):
out = "hello "+i+" "+greet
nobody = {'as':'','ad':'','om':'ssss'}
if i == '':return nobody
return out name = 'we'
if hello('we')==hello(name)and hello('we')==hello(i= 'we'):
print "right!" #right! yoo = hello('ss','yoooo!')
print yoo #hello ss yoooo! for key in hello('','yoooo!').items():
print key
'''
('om', 'ssss')
('as', '123')
('ad', '1234')
'''
l = hello('')
print l l_1 = hello('')
l_2 = hello('')
print l_1
def printnumber(**arr):
for i in arr.values():
print i def pr(arr):
for i in arr.keys():
print i printnumber(a='alala',b='bababa',c= 'sksks')
pr(l_1)
'''
alala
sksks
bababa
''' a = [1,2,3,4]
b = ['a','b','c','d']
c = [a[:],b[:]] def cut(*a_1):
for i in a_1:
del i[1]
return a_1 print cut(c[:])
print a,b
print cut(a[:],b[:]) '''
([[1, 2, 3, 4]],)
[1, 2, 3, 4] ['a', 'b', 'c', 'd']
([1, 3, 4], ['a', 'c', 'd'])
'''

最新文章

  1. C# 时间转换 Windows的toFileTimeutc时间转换
  2. JavaScript—之对象参数的引用传递
  3. echarts .NET类库开源
  4. Redis List命令
  5. 使用cygwin出现syntax error near unexpected token'$'do\r
  6. Joy of Programming: Understanding Bit-fields in C
  7. WCF编程系列(六)以编程方式配置终结点
  8. Sql server 浅谈用户定义表类型
  9. JavaScript正则表达式之分组匹配 / 反向引用
  10. Servlet 易错点和注意点
  11. 通过工厂方法配置Bean
  12. MD5加密工具类
  13. vscode 创建.net core项目初体验
  14. rancher2.1.7安装nfs 存储类
  15. easyUI 创建详情页dialog
  16. openvas安装和基本使用
  17. 【BZOJ4310】跳蚤
  18. this语句的第三、四点
  19. MySql介绍
  20. js-判断当前日期的天数

热门文章

  1. JMP CALL RET
  2. JS照片轮换
  3. 查看 vps 进程网络流量
  4. 吴裕雄--天生自然JAVA SPRING框架开发学习笔记:Spring Bean的配置及常用属性
  5. Unity3D 协程的介绍和使用
  6. C++中获取当前时间并格式化输出
  7. NOI2019退役记
  8. VMware Workstation 12 PRo密钥
  9. POJ 1200 Crazy Search 字符串的Hash查找
  10. 吴裕雄--天生自然 JAVASCRIPT开发学习:(String) 对象