Skip to content
Snippets Groups Projects
Commit 072bb938 authored by Martin Mareš's avatar Martin Mareš
Browse files

05: Výsledek funkce není nutné použít

parent 53d980c3
No related branches found
No related tags found
No related merge requests found
......@@ -81,11 +81,13 @@ def minimum(a, b): \\
print(minimum(3, 5))
}
\bigskip
\bigskip
\begin{itemize}
\item Příkaz {\bf return} ukončí vykonávání funkce a vrátí výsledek.
\item Můžeme použít i {\bf return} bez výsledku (vrátí {\bf None}).
\item Výsledek funkce nemusíme použít.
\end{itemize}
\end{frame}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment