返回顶部

收藏

Python functions are 'typeless'

更多
def times(x, y):      # create and assign function
     return x * y      # body executed when called

print times('Ni', 4)        # functions are 'typeless'

标签:Python,Function

收藏

0人收藏

支持

0

反对

0

发表评论