Hi, I'm pretty new to coding, and am mainly doing it for my math classes.
We were working on a sequence defined with : u(0)=0 ; u(n+1)= 2*u(n)+1 . In my code, nf is the value of n I want to calculate.
I tried compiling it into Python, however I get this weird error, stating that there's a problem on line 614 whereas I only got 13 lines of code written... could anyone help me, please ?
Note : this is my first time trying to code in full autonomy, and it would be pretty fit to say I'm a noob in python compared to y'all