字符串打印错误,请告诉我需要更改的代码。我是 python 初学者。
command2 = " –o -d Current"
print(command2)
我希望打印“–o -d Current”,但我得到“?o -d Current”作为输出
最佳答案
将 O 前面的第一个字符更改为“-”,代码运行良好。
关于python - 字符串打印错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54431617/