xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

Python Tutorials

Python Tutorials



Real Python

https://realpython.com/

https://realpython.com/courses/

https://realpython.com/learning-paths/

SoloLearn

Python

https://www.sololearn.com/Course/Python/

string

Python Docstring

a string literal that occurs as the first statement in a module, function, class, or method definition

https://www.python.org/dev/peps/pep-0257/


def kos_root():
    """Return the pathname of the KOS root directory."""
    global _kos_root
    if _kos_root: return _kos_root


def complex(real=0.0, imag=0.0):
    """Form a complex number.

    Keyword arguments:
    real -- the real part (default 0.0)
    imag -- the imaginary part (default 0.0)
    """
    if imag == 0.0 and real == 0.0:
        return complex_zero


refs

Python 3.8.3

https://docs.python.org/3/tutorial/



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


posted @ 2020-07-28 12:18  xgqfrms  阅读(276)  评论(3编辑  收藏  举报