Načítání úlohy…
Checking the ending of a string is useful for suffixes, file extensions, and short text rules. Write a function ends_ly that takes a string s and returns True if it ends with ly. In all other cases, return False.
"oddly"True"y"False"oddy"Falsedef ends_ly(s: str) -> bool:
Přihlaste se, abyste viděli historii odevzdání
Přihlásit sePřihlaste se, abyste mohli použít AI mentora
Přihlásit se"oddly"True"y"False"oddy"False"ly"True""False"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"False