There are two ways of
the result of a source block -
You mixed them up, hence the troubles.
First block is fine.
To fix the second block:
#+begin_src python :results value
To fix the third block:
#+begin_src python :results output
When output mode is
value you must
Just putting it there like you did
1+1 won't do.
In the third one you want the result to be printed output, but your default
value(mine defaults to
And this bit about
org-confirm-babel-evaluate is kind of
irrelevant to the question.
I just have it set to