简体   繁体   中英

Can't see output on visual studio code

I cant see output in both terminal and 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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