DEV Community

Discussion on: Build a flexible Neural Network with Backpropagation in Python

Collapse
 
mohamednedal profile image
MohamedNedal

Hi, in this line:
for i in xrange(1000):
it told me that 'xrange' is not defined. Could you please explain how to fix it?

Collapse
 
ayeo profile image
ayeo

With newer python version function is renamed to "range"