How to show outputs jupyter notebook in visual studio code? - visual-studio-code

Im reaching out to anyone who uses jupyter notebooks on Visual Studio Code. I have a problem with the outputs for each cell. It´s simple, I made a program automating a process. most steps I show a print to the user and then ask for an input. This works perfectly on Kaggle. But on visual studio code sometimes the print is shown after the program asks fro the input which makes it impossible for the user. If I hit "change presentation" on the output viewer, the output refreshes and the print is shown. But how do I make this automatic? I don´t want the user to hit refresh every time an input is asked for.
In the image you´ll see the program is asking the user for the amount of tactics but a print came first on the code showing all the possible tactics.
Thank You!
enter image description here

Related

Using terminal on VS code

I just started coding and I wanted to use the terminal on VS code, but every time I hit enter, it keeps showing up my laptop name as you can see in the picture. How can I use the terminal without this?
Can someone give an advice on what to do

NetLogo 6.2.2 BehaviorSpace not letting us select file to save results or run

A student in my class is unable to get BehaviorSpace to work on his machine. We are able to design and save experiment. When we click on run the dialog box for Run options opens and we select Table output. Then the problem arises. After clicking Ok it goes right back to the BehaviorSpace dialog, rather than asking us where to save the results and running the experiment. If we click on Run again, we go back to Run options and so on. I have never seen this before. If you have any ideas, please let us know.
He is using a 2020 MacBook Air running macOS Monterey 12.0.1.
Sincerely, Dale S. Rothman

Vs code console closing faster than lightning, how do i keep it open

Hello guys i am new to programming and i just installed vs code, everything is working fine except when i run the code the console comes and goes without me even seeing the output.So how do i make it stay. or how do i run the output inside the vs code terminal and just eliminate that pop up console.
The thing is i need to take screenshots of the output for my lecturer to see for future projects. Attached is a screenshot.the console is only here because it needs inputhere after input it just disappears

Visual Studio Code Cobol Extension - Code Navigation using F12

I'm using this Cobol extension for Visual Studio Code: https://marketplace.visualstudio.com/items?itemName=bitlang.cobol
It works very well and I've got it all set up. The only problem remaining is that I want to use the functionality to press F12 to jump to a definition in my code, so if I click "styledocument.sd" in the code of a program and press F12 it's supposed to open the styledocument file, but all the editor does is say "No definitions found for "styledocument"." Our lead developer says the functionality used to be there and it just vanished at some point for no reason.
Is there any way to get this functionality back? It'd be really useful, I'm very new at programming and this would be a godsend as it'd help me find my way around the code at a reasonable pace, as everything seems really difficult right now.
Thank you everyone for your replies!

Cannot run SQL script on Oracle Database 10g Express Edition

I'm trying to upload a script, and the file is being uploaded fine, but in the Script Editor window where I'm going to actually run the script, the entire file content is shown on one line and the whole edit area is in red. I'm not being able to run that script. Also if I create a new script from the editor, the edit area is again in red and I'm not able to save it. Please help me understand what's to be done so that I can run my SQL scripts.
Ok, so I figured it out by myself. So I'm answering my question so that it may help anyone else who have had this weird problem. When you open the database home page on any browser other than IE, this problem occurs, and you won't be able to do a single thing with your script. So always open your database home page on IE if you have to upload some data. For all other tasks, any other browser is fine. Cheers.