3 回答

慕码人2483693
TA贡献1860条经验 获得超9个赞
print()
param1
return
param1
编辑:
return
return

DIEA
TA贡献1820条经验 获得超2个赞
print
print()
print 1, '2', 'three'# 1 2 three
print
(print()
def foo(): print 'hello' print 'again' print 'and again'
return
return()
return
None
return
return None
def foo(y): print 'hello' return y + 1 print 'this place in code will never get reached :('print foo(5)# hello# 6def bar(): return # implicit return Noneprint bar() is None# Truedef baz(y): x = y * 2 # implicit return Nonez = baz()print z is None# True
return
print
添加回答
举报
0/150
提交
取消