Skip to main content
← CoursesPython FoundationsModule 3 · Functions and stringsQuiz: Which method removes spaces?quiz50 / 170
💬 Discuss🧪 Playground+60 XP
Task
📝 **Question:** Which method returns `"hello"` from `" hello "` (no surrounding spaces)? 💡 In Python — NOT `trim()` (like in JS/Java). Shorter name starting with "s".

Keep going

🎯 Quiz

Question

📝 **Question:** Which method returns `"hello"` from `" hello "` (no surrounding spaces)? 💡 In Python — NOT `trim()` (like in JS/Java). Shorter name starting with "s".
📣 Help someone learn PythonShare this lesson with a friend — the first 15 are free, no signup.Tweet

💬 Discussion

Be the first to ask a question or share a tip.
Sign in to join the discussion. Reading is free.
Loading discussion…