Ugrás a fő tartalomra
🔒 Előnézet mód. Az első tizenöt Foundations lecke ingyenes; ez Pro. Indíts 7 napos trial-t, hogy feloldd a szerkesztőt, az AI tippeket és a tananyag többi részét. Kártya szükséges, bármikor lemondhatod a Dashboard-ban.7 napos trial indítása →
⚡
← Kurzusok›Interview Prep1. modul · Big-O és egyszerű minták›Két mutató: palindrom ellenőrzéswrite3 / 104
+75 XP
Feladat🌐 shown in EN
📝 **Task:** Write `is_palindrome(s)` that returns `True` if string `s` reads the same forwards and backwards (case-insensitive), else `False`. Print the result for `'Racecar'`. 📋 Implement the function above. Test cases run automatically. 💡 **Hint:** Re-read the theory if you get stuck — the pattern is right there.
✏️ Írd ide a kódodat
🐍
Python betöltése...
Egyszeri letöltés (~1 MB). Utána azonnal fut.
📊 Eredmény
Kattints a Futtatásra az eredmény megtekintéséhez...