Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
lehrkraefte:snr:informatik:glf22:python:variablen-input-output [2023/08/21 20:59] Olaf Schnürer [Python-Shell (oder REPL)] |
lehrkraefte:snr:informatik:glf22:python:variablen-input-output [2023/09/03 19:45] (current) Olaf Schnürer [Aufgaben zum sinnvollen Einsatz von Variablen] |
||
---|---|---|---|
Line 310: | Line 310: | ||
</ | </ | ||
- | <hidden Lösungsvorschlag:> | + | <!--<hidden Lösungsvorschlag:> |
<code python> | <code python> | ||
n = int(input(" | n = int(input(" | ||
print(n * "Ich liebe Informatik!\n" | print(n * "Ich liebe Informatik!\n" | ||
</ | </ | ||
- | </ | + | </hidden>--> |
</ | </ | ||
Line 336: | Line 336: | ||
</ | </ | ||
- | <hidden Lösungsvorschlag:> | + | <!--<hidden Lösungsvorschlag:> |
<code python summe-und-produkt.py> | <code python summe-und-produkt.py> | ||
x = int(input(" | x = int(input(" | ||
Line 345: | Line 345: | ||
print(" | print(" | ||
</ | </ | ||
- | </ | + | </hidden>--> |
</ | </ | ||
Line 361: | Line 361: | ||
++++++++++++++++++++++++++++++ | ++++++++++++++++++++++++++++++ | ||
</ | </ | ||
+ | <!-- | ||
<hidden Lösungsvorschlag:> | <hidden Lösungsvorschlag:> | ||
<code python> | <code python> | ||
Line 367: | Line 368: | ||
print(hoehe * (breite * " | print(hoehe * (breite * " | ||
</ | </ | ||
- | </ | + | </ |
</ | </ | ||
Line 392: | Line 392: | ||
Definiere zwei String-Variablen '' | Definiere zwei String-Variablen '' | ||
+ | <!-- | ||
<hidden Lösungsvorschlag:> | <hidden Lösungsvorschlag:> | ||
<code python> | <code python> | ||
Line 400: | Line 401: | ||
</ | </ | ||
</ | </ | ||
+ | --> | ||
</ | </ | ||