简体   繁体   English

在 Visual Studio 代码上看不到 output

[英]Can't see output on visual studio code

I cant see output in both terminal and output我在终端和 output 都看不到 output

Here is an example这是一个例子

这是一个例子

Modify your code like this像这样修改你的代码

print()
dw = input("enter a value: ")

if( dw=='3' ):
    print('Right!')

Then hit the triangular play button at the top right corner, switch to the TERMINAL tab.然后点击右上角的三角形播放按钮,切换到终端选项卡。 Your code should be working.您的代码应该可以工作。

I encountered similar problems in vscode, the solution is to just press the delete icon on the terminal and run the code again Image我在vscode中也遇到过类似的问题,解决方法是直接在终端按删除图标,再次运行代码

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM