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.
The
return
statement is reduntant here as R returns the last evaluated object of the function.Seeing the input, you can see if your code is fine or not, the expected values are fine:
As it says in the description, your code should keep the original case of each letter.
Please see if this helps: https://docs.codewars.com/training/troubleshooting/#print-input
I have the same problem. @Chrono79 how does it help to print the input?
Can anyone help here?
You're using a global var, it keeps its value in the next tests. It doesn't work when called multiple times.
No, the problem is with your code, how do you explain 13k solutions if not? Do what I told you so I can see what you did wrong, otherwise it's you saying your code is right and me saying it's not.
if its saying true in codewars the problem is with the kata, bc there is no 'n' in the sentence.
Print the input, it's a problem with your code.
A problem with your code isn't a kata issue, post your code using markdown formatting and mark your post as having spoiler content. There are almost 13k completions in Python already.
My code works perfectly in terminal and jupyter notebook.
This isn't a pangram! ---> In codewars, it produced True, in terminal, it produced False
abcdefghijklmopqrstuvwxyz ---> In codewars, it produced True, in terminal, it produced False
My code passed 18 and failed 198,
Grfg should equal Grfg -----> Passed...All passed cases falls under this category...Return lowercase for lowercasse and uppercase for uppercase
'16rxbnQ435IE4okh' should equal '16RXBNQ435IE4OKH' ----> Failed....All failed cases falls under this category...return all in uppercase only
now for which logic should i write a code? Should I change all alphabets to uppercase?
edit: Code in python 3.6
there is no value for '' in your dict1