Pythonist.ru - помощь в подготовке к собеседованию на позицию Python Developer.
validate_spelling("C. Y. T. O. P. L. A. S. M. Cytoplasm?")
➞ True
validate_spelling("P. H. A. R. A. O. H. Pharaoh!")
➞ True
validate_spelling("H. A. N. K. E. R. C. H. E. I. F. Handkerchief.")
➞ False
Решение на нашем сайте.
#задача #codingconstruct_deconstruct("the sun") ➞ [
"t",
"th",
"the",
"the ",
"the s",
"the su",
"the sun",
"the su",
"the s",
"the ",
"the",
"th",
"t"
]
# Обратите внимание на пробел
Решение на нашем сайте.
#задача #codingcan_find(["at", "be", "th", "au"], ["beautiful", "the", "hat"]) ➞ True can_find(["ay", "be", "ta", "cu"], ["maybe", "beta", "abet", "course"]) ➞ False # "cu" не встречается ни в одном слове can_find(["th", "fo", "ma", "or"], ["the", "many", "for", "forest"]) ➞ True can_find(["oo", "mi", "ki", "la"], ["milk", "chocolate", "cooks"]) ➞ FalseРешение на нашем сайте. #задача #coding