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.
Ah, I see. Thank you!
Because in the tests your function is called once and twice:
rot13(rot13("some_string"))
, and your function isn't returning, so the default returned value isNone
, the result of calling your function once, and that's the input of the tests where it's called twice. Not a kata issue.I wanted to iterate over the string in
message
, but was returning an error saying I couldn't iterate over Nonetype - which was weird, as I assumed the input was a stringSo I ran one line with
print(message)
and it returned this:Why is it doing this?
debug using print thru each stage from input to output
Function def is included in char count