no way to compare when less than two revisions
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| — | de:modul:m319:learningunits:lu12:loesungen:hofladen [2025/06/23 07:45] (aktuell) – ↷ Seite von modul:m319:learningunits:lu12:loesungen:hofladen nach de:modul:m319:learningunits:lu12:loesungen:hofladen verschoben msuter | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| + | ====== LU12.L02 - Hofladen ====== | ||
| + | ~~NOCACHE~~ | ||
| + | |||
| + | ===== Funktionen ===== | ||
| + | <code python> | ||
| + | def input_int(prompt): | ||
| + | """ | ||
| + | reads an integer input from the user | ||
| + | :param text: the prompt to be shown | ||
| + | :return: the integer number | ||
| + | """ | ||
| + | pass | ||
| + | | ||
| + | def input_float(prompt): | ||
| + | """ | ||
| + | reads a decimal number input from the user | ||
| + | :param text: the prompt to be shown | ||
| + | :return: the decimal number | ||
| + | """ | ||
| + | pass | ||
| + | | ||
| + | def find_article(list, | ||
| + | """ | ||
| + | finds an article in the article list | ||
| + | :param list: the article list | ||
| + | :param name: the article name to be found | ||
| + | :return: article or None=not found | ||
| + | """ | ||
| + | pass | ||
| + | | ||
| + | </ | ||
| + | |||
| + | ===== Vorgehensschritte ===== | ||
| + | * <color # | ||
| + | * <color # | ||
| + | * <color # | ||
| + | |||
| + | - <color # | ||
| + | - <color # | ||
| + | - <color # | ||
| + | - <color # | ||
| + | - <color # | ||
| + | - <color # | ||
| + | - <color # | ||
| + | - <color # | ||
| + | - <color # | ||
| + | - <color # | ||
| + | - <color # | ||
| + | - <color # | ||
| + | - <color # | ||
| + | - <color # | ||
| + | |||
| + | ===== Sourcecode ===== | ||
| + | {{gh> | ||
| + | |||
| + | {{gh> | ||
| + | |||
| + | |||