alansuny

导航

 

define function .return value is required.

instance:

 def   f():

    print('hello world')

    return 10   # return represents two replications.

                           1:process is execute over.

                           2:return some object to function

    print('ok will’)  # the row will not be executed

instance:

 def 

   

 

posted on 2020-03-13 19:39  alansuny  阅读(71)  评论(0编辑  收藏  举报