print("MySQL error msg:", err_msg)
有括号
双引号字符串
单引号字符串
变量的输出
代码块的缩进
PS:
PyCharm 2021.2.2 (Professional Edition)
内部版本号 #PY-212.5284.44,September 15, 2021 构建
运行时版本: 11.0.12+7-b1504.28 amd64
VM: OpenJDK 64-Bit Server VM,JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Non-Bundled Plugins: com.intellij.zh
真是好用,好多语法没记住或不清楚,直接帮改正。



