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.
Why is this solution preferred ("Best Practices") compared to the more common one here: https://www.codewars.com/kata/reviews/564425cc55d0e45b8c000087/groups/5cbbc1b2cfb92300012eb435
This comment is hidden because it contains spoiler information about the solution
Thanks, and I agree. I think second highest upvoted is best to read. Btw do you know why he's got a semicolon at the end of his code?
Why is it Best Practices to add a semicolon at the end? I'm new to Python.
I'm new to coding, but isn't this best practices for writing code:
def lovefunc(flower1, flower2):
instead of:
def lovefunc( flower1, flower2 ):
Good kata, and all. Just wondering if those are interchangable, or if there's a reason for preferring the spaces in the code.