0
[Solved] Why is there no output?
I tried to programm a basic numerical differential equation solver using the runge kutter method using python but at as rightnow I get no output even though it doesn't give me an error. I would be happy if someone could tell me what I'm doing wrong. Thanks in advance My code is below: https://code.sololearn.com/cLxPy2zgt1Zj/?ref=app
6 Respuestas
+ 6
Yahya Bey it works because in this case while loop only runs once.
a+=1 might be the solution.
a+=a makes no sense.
+ 4
You have a = 0, intially..
And a+=a is also 0 always.. So it is infinite loop..
+ 2
Tim nööö... i often need a 2nd person to debug.
One becomes blind after a certain time.
Great stuff by the way.
+ 1
Jayakrishna🇮🇳 Oma Falk thank you very much
Sorry for the dumb question should have spotted it myself
+ 1
Tim No problem.
It took lot time for me.. I found it last...
It Happend to me also..
0
I dont know why did it work but put 4 whitespaces in front of return