I am fibonacci number python error

my code is there giving error.

Traceback (most recent call last):
File “./prog.py”, line 21, in
EOFError: EOF when reading a line

https://www.codechef.com/viewsolution/8690098

Hi,Shubham

please note input - it cant simply stored in integer variable

well python can manage large integer but you cant take square root of that number because in math library parameters are in double

may be my old answer for this question help you :slight_smile: -NZEC : RUN TIME ERROR IN PYTHON - general - CodeChef Discuss

but this same code accepted by hackerrank same question