On 2019-11-10 at 02:54 +01, Eduardo Ochs <eduardoo...@gmail.com> wrote...
> #+BEGIN_SRC python
> def square (x):
>     return x*x
>
> print(square(5))
> #+END_SRC
>
> [...] when I run the Python block with C-c C-c I always get a results
> block like this (without the indentation):
>
>   #+RESULTS:
>   : None
>
> What am I doing wrong? I expected an output of "25"... =(

Adding ":output results" makes this work for me, but I'm not using emacs24.

  -k.

Reply via email to