nickkkkkkk

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::
__author__ = "Alex Li"
#函数
def func1():
    """testing1"""
    print('in the func1')
    return 0
#过程
def func2():
    '''testing2'''
    print('in the func2')

x=func1()
y=func2()

print('from func1 return is %s' %x)        #0
print('from func2 return is %s' %y)        #none

 

posted on 2018-05-02 14:15  nickkkkkkk  阅读(109)  评论(0)    收藏  举报