标签:sid alc func ocs bre multiple must def style
OK, let‘s continue.
http://docs.python.org/2/library/functions.html#abs
A function can return single value, as well as return more value. But in essence it returns one, a tuple. The function treats the values as a tuple.
1 >>> r = move(100, 100, 60, math.pi / 6) 2 >>> print r 3 (151.96152422706632, 70.0)
标签:sid alc func ocs bre multiple must def style
原文地址:https://www.cnblogs.com/DrunkYouth/p/10357036.html