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.