@@ -685,32 +685,33 @@ \section*{Instructions}
685
685
\begin {itemize }
686
686
\item \texttt {invert }:
687
687
\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 { = }.
690
690
\end {itemize }
691
691
\item \texttt {to\_ blue }:
692
692
\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 {= }.
695
695
\end {itemize }
696
696
\item \texttt {to\_ green }:
697
697
\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 { = }.
700
700
\end {itemize }
701
701
\item \texttt {to\_ red }:
702
702
\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 { = }.
705
705
\end {itemize }
706
706
\item \texttt {to\_ celluloid(array) }:
707
707
\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 }).
709
710
\end {itemize }
710
711
\item \texttt {to\_ grayscale }:
711
712
\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 { = }.
714
715
\end {itemize }
715
716
\end {itemize }
716
717
% ================================= %
0 commit comments