7 kyu
Thinkful - Object Drills: Vectors
365 of 1,896Grae-Drake
Loading description...
Fundamentals
Object-oriented Programming
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
In Python, it would be nicer to implement a
__add__
special method.This is not tested.
JS translation still pending.
; ) )
Approved.
@Grae-Drake
,Python 2 is unavailable.
No longer needed. We now have Python 3.
Lesser duplicate of this kata
Making this a nice, smaller, easier prequel to that one.
Point taken.
JS translation kumited.
; ) )
.
I think the random tests are broken.
I don't see an error and they're passing fine for me. What test cases are failing and what code are you trying?
The random tests failed but it works now. Maybe some kind of server error.
My random tests are failing as well. Everything seems like it should work, and I pass the first sets of tests but I am getting errors in the random tests portion. Hmmm....I might need to think about this some more.
I figured it out. There wasn't an issue with the random tests, I just needed to look a little more closely at how the add() function is supposed to work.
Thank you your comment help immensly. This one drove me crazy
I'm having the same problem with random tests failing
Put some print statements in to see what was happening. Here are the results
log self: x = 7, y = -2 other: x = -9, y = 2 result: x = -2, y = 0
-2 should equal 7
Any ideas? my result looks correct.
Note: I figured it out