Answer the question
In order to leave comments, you need to log in
VS code Can I write a function in terminal and see the values?
I rewrote the code from the video tutorial https://www.youtube.com/watch?v=DvsCUI5FNnI&ab_cha... timecode 1:05:53
My function is not recognized in the terminal, although everything works in the video.
Please help with solving the problem, I'm just starting to understand python.
Answer the question
In order to leave comments, you need to log in
The video shows a standard python interpreter, you can use it. Either by simply writing python
in cmd, or by opening the standard IDLE
. I don’t know if there are special functions in VS Code, but in general you can do this: paste import pdb; pdb.set_trace()
and run the code at the end of the file, so you can already work from a convenient system
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question