fork download
  1. def fibi(n):
  2. a, b = 0, 1
  3. for i in range(n):
  4. a, b = b, a + b
  5. return a
  6. x = int(input())
  7. print (fibi(x))
Runtime error #stdin #stdout #stderr 0.12s 23576KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 6, in <module>
    x = int(input())
EOFError: EOF when reading a line