nReihe = 174
nMascheninReihe = 69
nAktReihe = 1
nGesamtMaschen = 0
nBlock = 0
nAktReihe = 0
nGesamtBlocks = 0

while nAktReihe <= 174:

    nGesamtMaschen = nGesamtMaschen + nMascheninReihe
    nBlock = nBlock + 1
    nAktReihe = nAktReihe + 1

    if nBlock == 5:
       nMascheninReihe = nMascheninReihe + 2
       nBlock = 0
       nGesamtBlocks = nGesamtBlocks + 1

       print (nMascheninReihe)


print (nGesamtMaschen)
print (nGesamtBlocks)




Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: