-1

I have downloaded Jupyter Notebook to practice coding Python. My issue is that when I execute any Python code, the Out [ ] cell will never display. I have explored disabling all my antivirus software, and the issue persists. Is there some setting I have accidentally enabled??

I have attached a picture to illustrate the problem:

enter image description here

desertnaut
  • 57,590
  • 26
  • 140
  • 166
ERhelpPlz01
  • 29
  • 1
  • 5
  • 1
    You gotta print the variable -> `print(c)` or just `c` should also work on jupyter – krmogi Dec 12 '21 at 17:06
  • If you are doing a modification or defining a variable it won't display anything. In your image above if you had put just 'c' at the bottom it would have outputted 5. To avoid an auto output, you can add a ';' to the end of your statement. 'c;' will not output anything. – withayk Dec 13 '21 at 18:59

2 Answers2

1

There is no problem with the Jupyter Notebook, You are not printing any of the variables. That's the reason it is not showing the output. Just add

print(c)
desertnaut
  • 57,590
  • 26
  • 140
  • 166
Tamil Selvan
  • 1,600
  • 1
  • 9
  • 25
0

try python -m ipykernel install --user and then using the notebook again