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

Slovníky: Porovnávání se také hodí ukázat

parent 2d8a1801
No related branches found
No related tags found
No related merge requests found
...@@ -104,6 +104,12 @@ a - b ...@@ -104,6 +104,12 @@ a - b
\{'d'\} \{'d'\}
} }
\py{%
a == b \cmt{(obsahují tytéž prvky?)}
}{%
False
}
\end{frame} \end{frame}
% ---------------------------------------------------------------------- % ----------------------------------------------------------------------
...@@ -143,6 +149,12 @@ teploty.get("Peklo", -999) ...@@ -143,6 +149,12 @@ teploty.get("Peklo", -999)
-999 -999
} }
\py{%
teploty == \{\} \cmt{(mají tytéž klíče i hodnoty k~nim?)}
}{%
False
}
\end{frame} \end{frame}
% ---------------------------------------------------------------------- % ----------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment