IntelliJ IDEA with python plugin.

Answered

I am very new with IntelliJ IDEA and Python as well.

When I debug or run python code in IntelliJ, arithmetic operation such as addition, subtraction are not working.

 

My code :

Print("Hello world")

10+5

 

The result in IntelliJ :

Hello world

 

The result in Terminal :

Hello world

15

 

Am I missing something?

0
3 comments

Works fine here:

What Python version do you use? Do you use ipython or standard console?

0
Avatar
Permanently deleted user

I am using python plugin from Jetbrains.

Above is result when I Run below code with Python plugin.

print("Hello world")

10+5

If I run in terminal, everything is fine.

0

Use Tools | Python Console if you need a console. Your code will only work in Python REPL the way you expect it to work.

0

Please sign in to leave a comment.