\documentclass{article}

\def\ifsoln{\iftrue}

\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage[inline]{enumitem}
\usepackage[colorlinks=true]{hyperref}
\usepackage{comment}

\begin{document}

\theoremstyle{definition}
\newtheorem{problem}{Problem}
\newtheorem{definition}[problem]{Definition}
\newtheorem{reading}[problem]{Reading}
\theoremstyle{plain}
\newtheorem{theorem}[problem]{Theorem}

\ifsoln
\newenvironment{solution}{\begin{proof}[Solution.]}{\end{proof}}
\else
\excludecomment{solution}
\fi

\title{Math 2001 Assignment 33}
\date{Due Wednesday, November 12}
\author{Your name here}
\maketitle

\begin{reading}
Scheinerman, \S24 (pp.\ 167--175)
\end{reading}

\begin{problem}
Suppose that $A$ and $B$ are sets and $f$ is a function from $A$ to $B$.
\begin{enumerate}[label=(\roman{*})]
\item Write a symbolic sentence that means $f$ is not injective.
\item Write a symbolic sentence that means $f$ is not surjective.
\end{enumerate}
\end{problem}

\begin{problem}
Scheinerman, \S24, \#1.  For each letter, answer questions (1), (2), and (3).  You do not have to answer (4).
\end{problem}

\begin{problem}
Scheinerman, \S24, \#6.  In each part, you should describe the image succinctly without reference to the function $f$.
\end{problem}

\begin{problem}
Scheinerman, \S24, \#8
\end{problem}

\begin{problem}
Scheinerman, \S24, \#10
\end{problem}

\end{document}
