/media/sda-magnetic/david/Dokumente-16-2024-08-01/informatikUmathematik/uebungen20240906/original/py20240819.py


print (4+4)
print (3+7)
print (2+8)
print (1+9)
print ("Ein Hinweis auf Gaus!")

x = 4 + 4
y = 3 + 5
z = 2 + 6

if x == y:
    print ("Die erste Frage von Gauss und aller Mathematiker konnte somit zunaechst befriedigend beantwortet werden")
    if x == z:
        print ("Gauss hatte in diesem Falle wohl recht")
        if y == z:
            print ("Jetzt sieht es tatsaechlich so aus")
elif y == z:
    print ("Wenn diese Antwort kommt, wird Gaus etwas falsch gemacht haben und die Regeln der Mathematik muessen neu ueberprueft werden")
else:
    print ("Das war es wohl")

i=0
while i < 10:
    print (i+1)
    i = i + 1

a = [1,4]
i=3
while i <= 10:
    a.append (i**2)
    i = i + 1

i = 0
while i < 10:
    print (a [i])
    i = i + 1