Why does i < 100.000 while num_iters is only 10.000, this means i running from 1 to 10.000 and never reaching 100.000
Thanks in advance
Why does i < 100.000 while num_iters is only 10.000, this means i running from 1 to 10.000 and never reaching 100.000
Thanks in advance
Hi @Nhat_Minh ,
In Python, unless is specified, i starts from 0.
The check on i within the function prevents anyone from modifying the code in cell [10] and potentially hogging too much of Coursera Labs resources. That’s what “resource exhaustion” refers to.