Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Thanks! I'm green to python, so I have another stupid question. I set up the print statement just to check to make sure that the data variable held something before I went further into creating additional methods and functions. How do I access the variable data? That's why I was trying to print it, just testing how to get to the contents. Commented Apr 4, 2017 at 0:34
  • When you instantiate the class, assign a variable to it: network = Neuralnetwork(3). You can then access the data as network.data. For example, print(network.data). Commented Apr 4, 2017 at 0:35
  • Thanks making more sense to me! Commented Apr 4, 2017 at 0:48