Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
About how to post your code, read this: https://docs.codewars.com/training/troubleshooting#post-discourse
thank you very much hobovsky!!!
You removed the
snoopy
andscoobydoo
variables. You have to keep them, tests use them to verify your solution.It is not a kata issue, you need to fix your solution.
Hello, I'm getting this error:
Traceback (most recent call last):
File "/workspace/default/tests.py", line 2, in
from solution import snoopy, scoobydoo
ImportError: cannot import name 'snoopy' from 'solution' (/workspace/default/solution.py)
Anyone has a clue on how to fix this? I didn't post my code, I don't know if it is allowed in the discussion section.
Thanks for this Kata!
What the description means is that you need to define a bark method so that
scoobydoo.bark()
is defined.It's even worse (at least in python): https://www.codewars.com/kata/reviews/553a86f91e039900d6000162/groups/64a5dff12f51b1000135f37c
done
Thanks for the Kata!)
Please, can one of the contributors add the tag
OBJECT-ORIENTED PROGRAMMING
, as the task includes OOP functionality?)Can you add OBJECT-ORIENTED PROGRAMMING tag?
I understood that only Snoopy can bark, and Scoobydoo can't bark ?
So Snoopy.bark() returns "Woof"
But Scoobydoo.bark() should return #undefined ?
Here, both Snoopy and Scoobydoo can bark.
I probably have missed something ?
+1
Ruby 3.0 should be enabled.
Good introduction to methods in OOP for beginners :D
still an issue.
Loading more items...