Code: Alles auswählen
>>> a, b = 0, 1
>>> while b < 1000:
... print(b, end=' ')
... a, b = b, a+b
...
1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987
File "<stdin>", line 2
print(b, end=" ")
^
IndentationError: expected an idented block
Kann das wer weiterhelfen?