Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung
Nächste Überarbeitung
Vorherige Überarbeitung
user:hof:pyeditor [2026-04-16 11:34] hofuser:hof:pyeditor [2026-04-16 19:59] (aktuell) hof
Zeile 1: Zeile 1:
 # Bottom Python Editor # Bottom Python Editor
-<html><script type="module" src="https://bottom.ch/editor/latest/bottom-exercise.js"></script></html>+<html><script type="module" src="https://bottom.ch/editor/stable/bottom-exercise.js"></script></html>
  
 Bottom Editor offers a standalone editor version at [[https://bottom.ch/editor/]] and a web component embeddable as normal HTML elements after loading the module once. See the [[https://bottom.ch/editor/stable/doc/|public documentation]] for all options. Bottom Editor offers a standalone editor version at [[https://bottom.ch/editor/]] and a web component embeddable as normal HTML elements after loading the module once. See the [[https://bottom.ch/editor/stable/doc/|public documentation]] for all options.
Zeile 188: Zeile 188:
             print(f'Romanshorn hat {tokens[2]} Einwohner')             print(f'Romanshorn hat {tokens[2]} Einwohner')
 </bottom-editor></html> </bottom-editor></html>
- 
 ## Exercises ## Exercises
  
 <code html> <code html>
-<html><script type="module" id="sum-to_n" src="https://bottom.ch/editor/latest/bottom-exercise.js"></script></html> +<html><script type="module" src="https://bottom.ch/editor/latest/bottom-exercise.js"></script></html> 
-<html><bottom-exercise>+<html><bottom-exercise id="sum-to_n">
             Write a function <tt>sum_to(n)</tt> that returns             Write a function <tt>sum_to(n)</tt> that returns
             <tt>1 + 2 + &hellip; + n</tt>. Return <tt>0</tt> for             <tt>1 + 2 + &hellip; + n</tt>. Return <tt>0</tt> for
Zeile 209: Zeile 208:
 </code> </code>
  
-<html><bottom-exercise>+<html><bottom-exercise id="sum-to_n">
             Write a function <tt>sum_to(n)</tt> that returns             Write a function <tt>sum_to(n)</tt> that returns
             <tt>1 + 2 + &hellip; + n</tt>. Return <tt>0</tt> for             <tt>1 + 2 + &hellip; + n</tt>. Return <tt>0</tt> for
  • user/hof/pyeditor.1776339282.txt.gz
  • Zuletzt geändert: 2026-04-16 11:34
  • von hof