Skip to content
Quiz · Strings · lesson 6 of 10

Quiz — writing into a string

What happens when this program runs?

Python
s = "hello"
print(s)
s[0] = "J"
print(s)

Subscribe to take the course

The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.

Sign in another way