Fibonacci-Berechnung korrigiert.

This commit is contained in:
2023-07-09 16:47:14 +02:00
parent 9956835ad9
commit 63fee8c895
7 changed files with 11 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ result5 = fib(5)
result8 = fib(8)
if result5 == 8 and result8 == 34:
if result5 == 5 and result8 == 21:
logging.info('Tests erfolgreich')
else:
logging.error('Tests fehlerhaft')