Skip to content

Commit c2a0414

Browse files
madvidqfeuilla
andauthored
fix of the missing methods and operators for the colorfiler exercise (#226)
* fix of the missing methods and operators for the colorfiler exercise * fix for cicd error make pdf Co-authored-by: Quentin FEUILLADE--MONTIXI <[email protected]>
1 parent 101cee4 commit c2a0414

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

module03/subject/en.subject.tex

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -685,32 +685,33 @@ \section*{Instructions}
685685
\begin{itemize}
686686
\item \texttt{invert}:
687687
\begin{itemize}
688-
\item Authorized functions:\texttt{None}
689-
\item Authorized operator:\texttt{+},\texttt{-}
688+
\item Authorized functions: \texttt{.copy}.
689+
\item Authorized operators: \texttt{+},\texttt{-},\texttt{=}.
690690
\end{itemize}
691691
\item \texttt{to\_blue}:
692692
\begin{itemize}
693-
\item Authorized functions:\texttt{.zeros},\texttt{.shape},\texttt{.dstack}
694-
\item Authorized operator:\texttt{None}
693+
\item Authorized functions: \texttt{.copy}, \texttt{.zeros},\texttt{.shape},\texttt{.dstack}.
694+
\item Authorized operators: \texttt{=}.
695695
\end{itemize}
696696
\item \texttt{to\_green}:
697697
\begin{itemize}
698-
\item Authorized functions:\texttt{copy.deepcopy}
699-
\item Authorized operator:\texttt{*}
698+
\item Authorized functions: \texttt{.copy}.
699+
\item Authorized operators: \texttt{*}, \texttt{=}.
700700
\end{itemize}
701701
\item \texttt{to\_red}:
702702
\begin{itemize}
703-
\item Authorized functions:\texttt{.to\_green},\texttt{.to\_blue}
704-
\item Authorized operator:\texttt{-},\texttt{+}
703+
\item Authorized functions: \texttt{.copy}, \texttt{.to\_green},\texttt{.to\_blue}.
704+
\item Authorized operators: \texttt{-},\texttt{+}, \texttt{=}.
705705
\end{itemize}
706706
\item \texttt{to\_celluloid(array)}:
707707
\begin{itemize}
708-
\item Authorized functions:\texttt{.arange},\texttt{.linspace}
708+
\item Authorized functions: \texttt{.copy}, \texttt{.arange},\texttt{.linspace}, \texttt{.min}, \texttt{.max}.
709+
\item Authorized operators: \texttt{=}, \texttt{<=}, \texttt{>}, \texttt{\&} (or \texttt{and}).
709710
\end{itemize}
710711
\item \texttt{to\_grayscale}:
711712
\begin{itemize}
712-
\item Authorized functions:\texttt{.sum},\texttt{.shape},\texttt{.reshape},\texttt{.broadcast\_to},\texttt{.as\_type}
713-
\item Authorized operator:\texttt{*},\texttt{/}
713+
\item Authorized functions: \texttt{.sum},\texttt{.shape},\texttt{.reshape},\texttt{.broadcast\_to},\texttt{.as\_type}.
714+
\item Authorized operators: \texttt{*},\texttt{/}, \texttt{=}.
714715
\end{itemize}
715716
\end{itemize}
716717
% ================================= %

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v3.0.5
1+
v3.0.6

0 commit comments

Comments
 (0)