Реализуй функцию Python по приведённой спецификации. Верни ТОЛЬКО тело функции с правильными отступами, без…
Реализуй функцию Python по приведённой спецификации. Верни ТОЛЬКО тело функции с правильными отступами, без…: a task in unslop-harbor (Harbor dataset). def prime length(string): """Write a function that takes a string and returns True if the string length is a prime number or False otherwise…
The task
def prime_length(string): """Write a function that takes a string and returns True if the string length is a prime number or False otherwise Examples prime_length('Hello') == True prime_length('abcdcba') == True prime_length('kittens') == True prime_length('orange') == False """
Part of rawmodels/unslop-harbor.