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.
You're retrieving countries from all the world. And as OP has already passed the kata, closing it.
thank you, i was sure i was not returning the correct object. i was able to do it ;))
You must return a dictionary, not a tuple, not a string, nor print anything. Have a look at the test cases.
im having a problem with the output
python!
error message:
Example Tests
Log
{'r': 255, 'g': 153, 'b': 51}
None should equal {'r': 255, 'g': 153, 'b': 51}
im getting the right results but once i try to return it in the mandatory format its giving me an error.
im returning a print of a string using format to have the 3 values of the tuple in the correct place.
can anyone explain what the "return an object" means if it isnt suposed to return a string with the correct syntax?
This comment is hidden because it contains spoiler information about the solution
Please read this: https://docs.codewars.com/training/troubleshooting without seeing your code is almost impossible to decide if it's wrong or it is a kata's problem.
countries
should pass random tests
results from randomly generated table
should return 3 capitals only
should return only one column
should return the capital column
should only return capitals of African countries in order
expected: "BJSVXETS"
got: "ABWVQGHH"
Do i have something wrong? Isn't it suposed to be ABWVQGHH before BJSVXETS since we want the answer in alphabetical order? Everything else is correct.