Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Čermák Petr
Prm1
Commits
072bb938
Commit
072bb938
authored
Nov 01, 2019
by
Mareš Martin
Browse files
05: Výsledek funkce není nutné použít
parent
53d980c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
05-funkce/05-funkce.tex
View file @
072bb938
...
...
@@ -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}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment