15
Awesome Team
Ruslan Arifullin
Last seen 2 months ago
Member for 5 years, 5 months, 15 days
Difficulty Normal
It's a nice way to solve the task like you did -)
More
Simple and clear solution. I liked it. But you can shrink size of the code by 1 line. Look at ternary conditional operators. -)
More
The code is shorter for a couple of lines in comparison with mine, basically. I didn't thought to import modules. :-)
More
Very nice. I've never thought that it could be possible to implement the task this simple way!
More
Didn't find any way to make the code shorted and smarter. I just thought that it would be enough for the level.
More
the solution is nice, but a little bit overloaded and overengineered. Tend to simplicity!
More
Hey the authors! Please keep in mind and fix a bug: the check require a yielded result, when assert asks the returned one.
More
In general it's clear. But it's a little "over engineered" solution. It's enough to code:
for t in text:
if t.isupper():
message += t
More
Nice and simple solution. For the educational aims such solution is fine.
More
A nice solution basically, but here you can decrease a few lines of code and make the code more readable by such actions as :
1) create a couple of lists for keys and values and next turn the lists into a dict by zip function
2) quickly find first key for a max value from the dict (it is done by one
More