\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{url}
\usepackage{tikz}

\newcommand*\TikZ{Ti\textit kZ} %https://tex.stackexchange.com/questions/62190/how-to-typeset-tikz

%https://tex.stackexchange.com/questions/522370/how-to-get-a-random-number-within-a-range
\pgfmathsetseed{\number\pdfrandomseed} % to ensure that it is randomized


\title{Info1, 1st and 2nd midterm retakes}
%\author{}
\date{December 13, 2022}
\begin{document}
\maketitle

\section{First midterm retake}

\subsection{\LaTeX}


\begin{enumerate}
\item

\item
  
\end{enumerate}
\subsection{\TikZ}
\begin{enumerate}
\item
\begin{center}
  \begin{tikzpicture}

  \end{tikzpicture}
\end{center}

\item
\begin{center}
  \begin{tikzpicture}

  \end{tikzpicture}
\end{center}
\end{enumerate}

\section{Second midterm retake}

\subsection{\TikZ}
\begin{enumerate}
\item 
\begin{center}
  \begin{tikzpicture}

  \end{tikzpicture}
\end{center}

\item
\begin{center}
  \begin{tikzpicture}

  \end{tikzpicture}
\end{center}
\end{enumerate}




\subsection{Sage}


\begin{enumerate}
\item
  \begin{enumerate}
  \item
  \item
  \item
  \item
  \end{enumerate}

\item
\end{enumerate}
\end{document}

