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
Martin Mareš
prm1
Commits
06823be2
Commit
06823be2
authored
Nov 03, 2020
by
Martin Mareš
Browse files
Řezy: Upgrade, zmínky o konverzích
parent
2e2e95f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
06-rezy/06-rezy.tex
View file @
06823be2
...
...
@@ -7,7 +7,7 @@
\title
{
Programování 1: Seznamy, řezy a řetězce
}
\author
[Martin Mareš]
{
Martin Mareš
\\\texttt
{
mj@ucw.cz
}}
\institute
{
Katedra Aplikované Matematiky
\\
MFF UK Praha
}
\date
{
20
19
}
\date
{
20
20
}
\begin{document}
\setbeamertemplate
{
navigation symbols
}{}
\setbeamertemplate
{
footline
}{}
...
...
@@ -270,4 +270,40 @@ True \cmt{(pozor, nerespektuje česká pravidla)}
% ----------------------------------------------------------------------
\begin{frame}
{
Převody mezi typy dat
}
\py
{
%
int("123")
}{
%
123
}
\py
{
%
str(123)
}{
%
"123"
}
\py
{
%
list("123")
}{
%
['1', '2', '3']
}
\py
{
%
str(['1', '2', '3'])
}{
%
"['1', '2', '3']"
}
\py
{
%
list(range(1, 10))
}{
%
[1, 2, 3, 4, 5, 6, 7, 8, 9]
}
\end{frame}
% ----------------------------------------------------------------------
\end{document}
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