New course! Every coder should learn Generative AI!
Try a free lesson0
Why code return ( inf) at the first result of loop?
2 Answers
+ 1
Division by zero error. Is what I am seeing. Line 21 first pass is number /0.0
0
William Owens thanks it disappeared I thought that inf refer to infinite