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.
Is it necessary to create a dict with 26 keys, one for each letter?
Oh, I got it. Not as formal as I wish, but It's working.
I used .replace("&,","&") hehe
I have tryed to go back from string to list, and replace the element "&," to "&" , but it isn't so formal, I guess...
I'm getting something like: 'name1, name2 &, name3'.
This comma just after & is killing me!!! hehe :)
I'm using ', '.join() (python)
This comment is hidden because it contains spoiler information about the solution
Hello guys. I'm having troubles to do this Kata. I can see a way to solve this problem. I already have the unique letters in strings, and the output for only non-alpha characters, but I can't see how to make an output like '1a2b3c...'
Can anyone help me?
I'm not an expert in programming, but I usually choose sugestive names for my variables. When I saw your code, I read 'w','f' and 'g' and I had no idea what was the meaning of these vars. You can maybe use 'w' and 'f' as 'firstStr' and 'secondStr', and 'g' as 'output', fox example.
I am programming in Python, and I got an error in 7th test, with $50 bill.
I am getting the input $50 bill and checking if I have at least one $25 bill to give a change.
If true, I increase the $50 bill amount and decrease the $25 bill amount. Then, I check if 'i' is equal to bill's array length.
Else, if I don't have any $25 bill, I'm returning 'NO'.