40
Awesome Team
Alexander Lyabah
http://www.checkio.org/user/oduvan/
Last seen 14 hours ago
Member for 13 years, 10 months, 21 days
Difficulty Easy
love it!
чтобы не делать вот такую лестницу из if-ов
def checkio(data: str) -> bool:
if len(data)>=10:
if re.search(r"[A-Z]", data):
if re.search(r"[a-z]", data):
if re.search(r"[0-9]", data):
return True
else:
More
HUM = self.human.h_quotes
ROB = self.robot.r_quotes
не надо капслочить для локальных переменных
More
This is an interesting idea of keeping order and removing duplicates.
More
I like your solution.
How you split it on sub-function to make the logic more clear
Thank you
More
in order to solve this problem you don't need any new variables in your
function. Why?
More