Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
lehrkraefte:snr:informatik:python:variablen-in-python [2021/10/23 11:48] Olaf Schnürer [Objekte, Variablen und Mutabilität in Python] |
lehrkraefte:snr:informatik:python:variablen-in-python [2021/10/23 13:05] Olaf Schnürer [Objekte, Variablen und Mutabilität in Python] |
||
---|---|---|---|
Line 2: | Line 2: | ||
Intuitiv wissen wir aus unserer bisherigen Programmiererfahrung, | Intuitiv wissen wir aus unserer bisherigen Programmiererfahrung, | ||
- | (Ich habe das auch erst beim Schreiben dieses Textes gelernt - man kommt also ziemlich weit mit dem intuitiven Begriff. Die offizielle Dokumentation ist [[https:// | + | (Genau habe ich das auch erst beim Schreiben dieses Textes gelernt - man kommt also ziemlich weit mit dem intuitiven Begriff. Die offizielle Dokumentation ist [[https:// |
<WRAP round info> | <WRAP round info> | ||
Line 9: | Line 9: | ||
* einem Wert. | * einem Wert. | ||
* einer Identität (diese mag man sich als " | * einer Identität (diese mag man sich als " | ||
- | Eine // | + | Eine // |
</ | </ | ||
Line 23: | Line 23: | ||
z = [1,2,3] | z = [1,2,3] | ||
</ | </ | ||
- | Taucht eine Variable (also etwa '' | + | Taucht eine Variable (also etwa '' |
Typ, Wert und Identität der Variablen '' | Typ, Wert und Identität der Variablen '' | ||
Line 51: | Line 51: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | Hier noch zwei Beispiele, die Teilaspekte illustrieren. | ||
<WRAP round box> | <WRAP round box> |