16. Lektion: Funktionen.extend(): Difference between revisions

From Attraktor Wiki
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:
     return a, b</pre>
     return a, b</pre>
<pre>x, y = test1(23, 45)</pre>
<pre>x, y = test1(23, 45)</pre>
* you can pass positional or keyword arguments to your functions.
* Man kann Positions- oder Schlüsselwortargumente an eine Funktion übergeben.
** https://realpython.com/python-asterisk-and-slash-special-parameters/
** https://realpython.com/python-asterisk-and-slash-special-parameters/
** https://medium.com/@mr.stucknet/a-roadmap-to-python-parameter-definitions-best-practices-and-beyond-6faa2f66fc19
** https://medium.com/@mr.stucknet/a-roadmap-to-python-parameter-definitions-best-practices-and-beyond-6faa2f66fc19
Line 13: Line 13:
** https://www.phyton-lernen.de/zufallszahlen-random.htm
** https://www.phyton-lernen.de/zufallszahlen-random.htm
<br>
<br>
== Navigation==
== Navigation==
[[Micropython_Kurs_2023_-_Teil_1|Zurück zu Micropython Kurs 2023 - Teil 1]]<br>
[[Micropython_Kurs_2023_-_Teil_1|Zurück zu Micropython Kurs 2023 - Teil 1]]<br>

Revision as of 16:47, 1 October 2023