Python入门篇之条件、循环(4)
复制代码 代码如下: import math as foobar foobar.sqrt(4) 2.0 #也可以为函数提供别名; from math import sqrt as foobar foobar(4) 2.0 这里所做的事情叫做序列解包--将多个值
精彩图集
精彩文章
@CopyRight 2002-2008, 1SOHU.COM, Inc. All Rights Reserved QQ:1010969229