Reputation: 812 Master
- Active Posts:
- 2,225 (0.95 per day)
- 23-December 08
- Profile Views:
- Last Active:
- May 21 2015 08:18 PM
- OS Preference:
- Who Cares
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Who Cares
- Dream Kudos:
- Expert In:
Posts I've Made
Posted 21 May 2015I'm hoping I get my prize for top Kudos May 2014 soon.
Posted 20 May 2015I'm not going to read your code because your error is completely straightforward.
It basically says that you're treating yp like a data structure (such as a list) when it's really a float (number with a decimal point). Try printing yp just above that line, you'll see it's not a list but a number. For that reason, you can't say yp[k] as the [k] part makes no sense.
Posted 13 May 2015He already said "the raw_inputs are working", so clearly he knows how to call it....
Posted 10 May 2015Much better! TypeError: 'str' object is not callable this means that you tried to treat a string like a function. Instead of print(self.__name()), try print(self.__name).
Posted 10 May 2015You're initial question gets 65% points, so you didn't fail, but it's not good.
You correctly stated what you intend to do: 20%
You showed us the code you have so far: 40%
Your language is clear: 5%
However, you lose credit for not telling us what your problem is.
If there's an error, copy and paste it into code tags and show us that.
If you're getting bad output, tell us what you're getting as oppose to what you're expecting.
Fix that up and we can definitely take a look at what's going on.
Please don't say "I just want advice" or "I'm looking for guidance" because, to us, that is code for "I just want you to do the thing for me".
- Member Title:
- Age Unknown
- October 24
- Forum Leader:
- Full Name:
- Years Programming:
- Programming Languages:
- Python, Java, C/C++, C#, VB.net, PHP, SQL