如何在python中使用注释

2024-10-26 01:33:18

1、先看一下没有注释的代码。

如何在python中使用注释

2、再看一下有注释的代码

如何在python中使用注释

3、python中的单行注释。以#开头。如图。

如何在python中使用注释

4、python中的多行注释。如图。

如何在python中使用注释
猜你喜欢