No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello python gurus! I dabble in python casually, and I've just recently begun to use classes. For the most part they've proven very helpful, but this error has me stumped: [CODE]creature.health=creature.health-2*creature.metabolsim/resolution AttributeError: predator instance has no attribute 'metabolsim'[/CODE] Here's the full code of the program (it's designed to run a … |
|
Hello experienced python programmers! I come here in humble request of your guidance on my latest python endeavor. I'm writing my first program to make heavy use of lists within lists, and i've run into a rather unexpected problem. just for practice, I'm writing a program that simulates a simple … |