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.
This solution doesn't work.
'Hello, world' -> 'Hello, orldway'.
Should be:
'Hello, world' -> 'elloHay, orldway'
exactly xD. But thats the beauty of this website. Learning from others.
I forfeited this one, but if I knew that words with punctuation inside of them don't have to work I would've wrote this.
It's not though? best practice would be to follow standards, PEP 8 clearly says 72 char lines max
alpha😈
but seriously how do i see new functions every day
I've the same solution. But it will be problem if punctuation will be inside word. We need to check words for punctuation and append them to our expression if they will be in the list. But for this kata this solution will work.
This does not seem to work if punctuations marks are used,
For example:
pig_it("Pig latin is cool!") gives: "igPay atinlay siay cool!" where this should be "igPay atinlay siay oolcay!" because punctuation marks must be left untouched.
best practice
This comment is hidden because it contains spoiler information about the solution
This was news to me. Thank you!
Amazing code broski!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Hi.
It doesn't work with:
"O tempora, o mores !"
IDK why this is the most popular solution... It will not work if any word ends with punctuation ('world!' instead of 'world !').
Check my 1-string correct solution ^_^
Loading more items...