Skip to main content
← CoursesPython FoundationsModule 3 · Functions and stringsTest: what's wrong with .lower()?quiz45 / 170
💬 Discuss🧪 Playground+60 XP
Task
📝 **Question:** What will this code output? ```python s = "Hello" s.upper() print(s) ``` 📋 Choose the right option. 💡 **Hint:** strings in Python are **immutable** (immutable). Methods like `.upper()` return a **new** string rather than changing the original one.

Keep going

🎯 Quiz

Question

📝 **Question:** What will this code output? ```python s = "Hello" s.upper() print(s) ``` 📋 Choose the right option. 💡 **Hint:** strings in Python are **immutable** (immutable). Methods like `.upper()` return a **new** string rather than changing the original one.
📣 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…