Fibonacci-Berechnung korrigiert.
This commit is contained in:
@@ -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')
|
||||
|
Reference in New Issue
Block a user