/media/sda-magnetic/david/Dokumente-16-2024-08-01/informatikUmathematik/excersize20240906/py20240906.py


#20240906

print (5+6)
x = 5 + 4
y = 6 + 3
z = 7 + 2

print (x+y+z)
print (x)
print (y)
print (z)

if x < y:
    print ("x ist kleiner als y")
    if x < z:
        print ("x kleiner z")
    else:
        print ("x ist nicht kleiner z")
else:
    print ("x ist nicht kleiner als y")

i = 0
while i < 10:
    print (i)
    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