2hx9bG

Written on June 24, 2019
% Dans le préambule
% -----------------
long préambule...
% -----------------

\begin{lstlisting}[language=replit,
caption=programme1.py]
from math import *

def aire(r):
  """ renvoie a=pi*r**2"""
  a = pi * r**2
  return a
\end{lstlisting}

\begin{lstlisting}[language=console,
caption=dans la console]
 > aire(2)
=> 12.566370614359172
\end{lstlisting}