study Python3 【1】

用VSCode来编辑Python代码,作为IDE使用,有点头晕。

https://www.runoob.com/python3/python-vscode-setup.html有介绍。还有更好的博客介绍。

懒得搞明白vscode的配置,直接去短平快尽快把环境搭建起来。可是还是费了不少时间。真tm恶心!

#!/usr/bin/python3
# 文件名是:hello.py
print ("你好,世界")
print ("草泥马!!,真不容易!花费一天时间了")
print("这个问题太烦了")
if True  :
    print("shi if 语句")
#input("按任意键继续...");
'''
这是多行注射
是多行说明注释
'''
str = '12345'
print(str)
print(str[2:4])

原文地址:https://www.cnblogs.com/usegear/p/15339498.html