40
Awesome Team
Alexander Lyabah
http://www.checkio.org/user/oduvan/
Last seen 1 day ago
Member for 13 years, 10 months, 22 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
do you really need asserts inside the actual code?
Why do you use `_` before the variable name in function `sm_copy`?
More
not bad,
but it is always better to do improrts outside of function
More