pycharm如何注释
2023-03-15 23:19:25 时间
主要有三种方法:
①在程序行前面加“#”。
②将需要注释的代码用'''—-''' 包起来,此方法类似C的注释方法。
③方法一的快捷方式:将需要注释的代码选中,然后利用“Ctrl+/”进行注释。
# test=input('>>>') # print(test) # l=len(test) # print(l) # r=range(l) # for item in r: # print(item,test[item])
Python学习网,有大量免费的Pycharm使用教程,欢迎大家学习!
相关文章
- 在浏览器中,把 Vite 跑起来了!
- Iot前端Node-Red+ IOT Studio + Github无法访问解决办法
- 惊喜:Windows 11 仍然支持运行 5.25 寸软盘
- Centos8中恢复根目录为默认权限
- Firefox 95 和 Chrome 97 在 Linux 的性能对比
- Maui Shell 来了,开启 Linux 桌面新时代!
- Linux下几种运行后台任务的方法
- Canonical正重构Snap应用安装包:更细、更模块化
- Windows11越来越“苹果化”是好还是坏?
- Linux中对【库函数】的调用进行跟踪的三种【插桩】技巧
- Windows 11仍不够苹果?一招魔改Windows 11任务栏
- Windows 11 22526新版修复大量问题!新特性抢先看
- Windows 11 Alt+Tab切换界面升级:越来越像苹果了
- AirPods音质更好Windows 11更新修复大量问题
- 苹果Mac电脑,能否避开Tpm限制?苹果电脑安装Windows 11操作系统方法
- Windows 10操作系统,怎么一键系统还原?Windows 10一键还原操作步骤
- 自己动手在Windows 10和Windows 11的WSL上安装Ubuntu 21.10
- Windows 10系统,出现错误代码0xc0000225怎么办?Windows 10系统修复详解
- Windows 11操作系统,玩游戏老是弹出输入法?Windows 11输入法异常解决方法
- 在 Linux 上用 Audacity 编辑音频