Python Run Time Calculator
Define your function:
def fibonacci(n): if n <= 1: return n else: return fibonacci(n-1) + fibonacci(n-2) n=int(input()) print(fibonacci(n))
Enter your input (multiple lines allowed):
10
Calculate
Calculation History