\documentclass[14pt]{classPres}
\usepackage{tkz-fct}
\usepackage{listings}

\author{}
\title{}
\date{}

\begin{document}
\begin{frame}{Questions flash}
    \begin{center}
        \vfill
        2nd
        \vfill
        30 secondes par calcul
        \vfill
        {\Large Calculatrice autorisée}
        \vfill
        \tiny \jobname
    \end{center}
\end{frame}

\begin{frame}[fragile]{Calcul 1}
    % Proba - ensemble
    On note
    $A = \left\{\mbox{ Sucré }\right\}$
    \hfill
    $B = \left\{\mbox{ Fondant }\right\}$
    \vfill
    Comment peut noter l'évènement "bonbon sucré ou pas fondant"?
    \vfill
\end{frame}

\begin{frame}{Calcul 2}
    % Fractions
    Déterminer l'abscisse du point $A$

    \vfill
    \begin{center}
        \begin{tikzpicture}[scale=0.7]
            % \draw[line width=2mm, color=red] (0, 0) -- (3, 0);
            % \draw[line width=2mm, color=red] (5, 0) -- (8, 0);
            \draw[thick, ->] (0,0) -- (16, 0);
            \foreach \x in {0, 1, ..., 15} \draw[] (\x, -0.1)  -- (\x, 0.1);
            \draw[very thick] (1, 0.2) -- (1, -0.2);
            \draw[very thick] (6, 0.2) -- (6, -0.2) node [below] {0};
            \draw[very thick] (11, 0.2) -- (11, -0.2) node [below] {1};
            \draw (3, 0) node {$\bullet$} node [above] {$A$};
            %\draw (12, 0) node [below] {2};
        \end{tikzpicture}
    \end{center}
    \vfill
\end{frame}

\begin{frame}[fragile]{Calcul 3}
    % Information chiffrée
    \vfill
    Pendant les soldes, un robe a subi 2 démarques. Une première de 10\% puis une deuxième de 40\%.
    \vfill
    Quel est le taux d'évolution total de son prix?
    \vfill
\end{frame}

\begin{frame}[fragile]{Calcul 4}
    % Programmation
    \begin{center}
        \begin{lstlisting}[language=Python, basicstyle=\small, frame=]
a = 10
if a > 14:
    print("Blahblahblah")
elif a > 5:
    print("Youpi")
else:
    print("Oups")
        \end{lstlisting}
    \end{center}
    \vfill
    Que va afficher le programme?
    \vfill
\end{frame}

\begin{frame}{Fin}
    \begin{center}
        On retourne son papier.
    \end{center}
\end{frame}


\end{document}