Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Programování 1 pro matematiky
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Mareš
Programování 1 pro matematiky
Compare revisions
29d8bba0753ead7e6c57e4a69f3d0ce4daff9c99 to bdb21e1cf832e6e15d721fece7135e122a80705d
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
mj/prm1
Select target project
No results found
bdb21e1cf832e6e15d721fece7135e122a80705d
Select Git revision
Branches
master
zs1920
zs2021
3 results
Swap
Target
mj/prm1
Select target project
mj/prm1
1 result
29d8bba0753ead7e6c57e4a69f3d0ce4daff9c99
Select Git revision
Branches
master
zs1920
zs2021
3 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source
2
Slovníky: <= na množinách, drobnosti
· 5095b08f
Martin Mareš
authored
8 months ago
5095b08f
Merge branch 'master' of gitlab.kam.mff.cuni.cz:mj/prm1
· bdb21e1c
Martin Mareš
authored
8 months ago
bdb21e1c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
08-slovniky/08-slovniky.tex
+16
-2
16 additions, 2 deletions
08-slovniky/08-slovniky.tex
with
16 additions
and
2 deletions
08-slovniky/08-slovniky.tex
View file @
bdb21e1c
...
...
@@ -104,12 +104,26 @@ a - b
\{
'd'
\}
}
\end{frame}
% ----------------------------------------------------------------------
\begin{frame}
{
Porovnávání množin
}
\py
{
%
a=
\{
1, 2, 5
\}
\\
b=
\{
1, 5
\}
\\
a == b
\cmt
{
(obsahují tytéž prvky?)
}
}{
%
False
}
\py
{
%
b <= b
\cmt
{
(je jedna podmnožinou druhé?)
}
}{
%
True
}
\end{frame}
% ----------------------------------------------------------------------
...
...
@@ -144,9 +158,9 @@ None
}
\py
{
%
teploty.get("Peklo",
-999
)
teploty.get("Peklo",
666
)
}{
%
-999
666
}
\py
{
%
...
...
This diff is collapsed.
Click to expand it.