Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.

Link zu der Vergleichsansicht

Nächste Überarbeitung
Vorherige Überarbeitung
informatik:computerkunst:eingabe-ausgabe [2020/05/10 17:39] – [Aufgabe 2] jonathan.pfeifferinformatik:computerkunst:eingabe-ausgabe [2025/03/08 15:03] (aktuell) – [Beispiel] jonathan.pfeiffer
Zeile 15: Zeile 15:
  
 <callout type="primary">Kopiere den Beispielcode und füge ihn in den Editor ein. Führe das Programm aus!</callout> <callout type="primary">Kopiere den Beispielcode und füge ihn in den Editor ein. Führe das Programm aus!</callout>
 +{{url>https://trinket.io/embed/python/843702469d 80%,600px|iFrame not installed}}
  
-<html> 
-<iframe src="https://trinket.io/embed/python/843702469d" width="100%" height="200" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen></iframe> 
-</html> 
  
  
Zeile 42: Zeile 40:
 <callout type="primary">Kopiere den Beispielcode und füge ihn in den Editor ein. Führe das Programm aus!</callout> <callout type="primary">Kopiere den Beispielcode und füge ihn in den Editor ein. Führe das Programm aus!</callout>
  
-<html> 
  
-<iframe src="https://trinket.io/embed/python/0b99211fef" width="100%" height="200" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen></iframe>+{{url>https://trinket.io/embed/python/0b99211fef 80%,600px|iFrame not installed}} 
 + 
  
-</html> 
 ===== Variablen, Eingabe & Ausgabe ===== ===== Variablen, Eingabe & Ausgabe =====
  
Zeile 58: Zeile 56:
  
 {{:informatik:computerkunst:python-rechenoperatoren.png?614|}} {{:informatik:computerkunst:python-rechenoperatoren.png?614|}}
 +
 +<code python>
 +zahl_a = zahl_x + zahl_y
 +zahl_b = zahl_x - 20
 +zahl_c = zahl_x * zahl_y
 +zahl_d = zahl_x / 5
 +zahl_e = zahl_x ** 4
 +</code>
  
 ===== Aufgabe 1 ===== ===== Aufgabe 1 =====
Zeile 97: Zeile 103:
 ===== Aufgabe 3 ===== ===== Aufgabe 3 =====
  
-Entwerfe ein Programm, das die Rechenoperationen plus, minus, mal, geteilt und hoch durchführt. +Entwerfe ein Programm, das die Rechenoperationen plus, minus, mal, geteilt und hoch durchführt (siehe [[informatik:computerkunst:eingabe-ausgabe#Rechenoperatoren|Rechenoperatoren]])
  
 Die Bildschirmausgabe sollte so aussehen:\\ {{:informatik:computerkunst:python-eingabe-ausgabe-ausgabe1.png?468|}} Die Bildschirmausgabe sollte so aussehen:\\ {{:informatik:computerkunst:python-eingabe-ausgabe-ausgabe1.png?468|}}
Zeile 103: Zeile 109:
 ===== Editor ===== ===== Editor =====
  
-<html> + 
-<iframe src="https://trinket.io/embed/python/209d5f682c" width="100%" height="600" frameborder="0" marginwidth="0marginheight="0allowfullscreen></iframe+ 
-</html> +{{url>https://trinket.io/embed/python/209d5f682c}} 
-{{tag>[informatik computerkunst lernpfad]}}+ 
 +===== Hier geht es weiter... ===== 
 + 
 +<btn type="primarysize="sm">[[informatik:computerkunst:funktionen-ohne-parameter|Funktionen ohne Parameter]]</btn
 + 
 +{{tag>[informatik arbeitsauftrag computerkunst lernpfad python]}}