>>> print("aaaa","bbbb")
aaaa bbbb
>>> print(1, 2, 3)
1 2 3
为模块提供别名:
>>> import math as foobar
>>> foobar.sqrt(4)
2.0
为函数提供别名:
>>> from math import sqrt as foobar
>>> foobar(4)
2.0
>>> print("aaaa","bbbb")
aaaa bbbb
>>> print(1, 2, 3)
1 2 3
为模块提供别名:
>>> import math as foobar
>>> foobar.sqrt(4)
2.0
为函数提供别名:
>>> from math import sqrt as foobar
>>> foobar(4)
2.0
转载于:https://www.cnblogs.com/lianghong881018/p/11078120.html