Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung | ||
| user:hof:pyeditor [2026-04-13 06:23] – [Exercises] hof | user:hof:pyeditor [2026-04-16 19:59] (aktuell) – hof | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| # Bottom Python Editor | # Bottom Python Editor | ||
| - | < | + | < |
| Bottom Editor offers a standalone editor version at [[https:// | Bottom Editor offers a standalone editor version at [[https:// | ||
| Zeile 191: | Zeile 191: | ||
| <code html> | <code html> | ||
| - | < | + | < |
| - | | + | < |
| - | | + | Write a function < |
| <tt>1 + 2 + & | <tt>1 + 2 + & | ||
| - | <tt>n ≤ 0</ | + | <tt>n ≤ 0</ |
| <script type=" | <script type=" | ||
| def sum_to(n): | def sum_to(n): | ||
| Zeile 205: | Zeile 205: | ||
| assert sum_to(0) == 0, " | assert sum_to(0) == 0, " | ||
| </ | </ | ||
| - | | + | </ |
| </ | </ | ||
| - | < | + | < |
| - | | + | Write a function < |
| <tt>1 + 2 + & | <tt>1 + 2 + & | ||
| - | <tt>n ≤ 0</ | + | <tt>n ≤ 0</ |
| <script type=" | <script type=" | ||
| def sum_to(n): | def sum_to(n): | ||
| Zeile 221: | Zeile 221: | ||
| assert sum_to(0) == 0, " | assert sum_to(0) == 0, " | ||
| </ | </ | ||
| - | | + | </ |