40
Awesome Team
Alexander Lyabah
http://www.checkio.org/user/oduvan/
Last seen 15 hours ago
Member for 13 years, 10 months, 21 days
Difficulty Easy
love it!
in order to solve this problem you don't need any new variables in your
function. Why?
More
I'm wondering what is a better way to do `a > 6` or `a >= 7` ?
More
if condition:
return True
else:
return False
Can be always replaced by
return condition
More
You can start thinking of better names for variables. For example, ‘a’ can be called ‘words’.
Good naming is also part of the developer’s job.
More
If you create a variable just to return it right after, means you don't
need that variable.
just do
if conditions:
return
else:
return
More
You've simply pasted the solution. Did you make it by yourself or copy from somewhere?
More